|
| | AutoPlayer (BmsNotes *notes, BmsLiveScore *score, GameplayState *state, resource_managers::Profile *profile, QFuture< BmsGameReferee > referee, std::chrono::nanoseconds chartLength, double initialBpm, std::vector< HitEvent > events, QObject *parent=nullptr) |
| |
| void | passKey (input::BmsKey key, ChartRunner::EventType eventType, std::chrono::nanoseconds offset) override |
| |
| void | update (std::chrono::nanoseconds offsetFromStart, bool lastUpdate) override |
| |
| | Player (BmsNotes *notes, BmsLiveScore *score, GameplayState *state, resource_managers::Profile *profile, QFuture< BmsGameReferee > referee, std::chrono::nanoseconds chartLength, double initialBpm, QObject *parent=nullptr) |
| |
| void | setup () |
| |
| auto | getNotes () const -> BmsNotes * |
| |
| auto | getScore () const -> BmsLiveScore * |
| |
| auto | getState () const -> GameplayState * |
| |
| auto | getColumns () const -> QList< int > |
| |
| Q_INVOKABLE bool | isScratchColumn (int column) const |
| |
| auto | getProfile () const -> resource_managers::Profile * |
| |
| auto | getPosition () const -> double |
| |
| auto | getBeatPosition () const -> double |
| |
| auto | positionAt (std::chrono::nanoseconds offsetFromStart) const -> double |
| |
| auto | speedMultiplierAt (std::chrono::nanoseconds offsetFromStart) const -> double |
| |
| auto | hasSpeedChanges () const -> bool |
| |
| auto | getSpeedMultiplier () const -> double |
| |
| auto | beatPositionAt (std::chrono::nanoseconds offsetFromStart) const -> double |
| |
| auto | getElapsed () const -> int64_t |
| |
| auto | getStatus () const -> ChartRunner::Status |
| |
| void | setStatus (ChartRunner::Status status) |
| |
| auto | getChartLength () const -> int64_t |
| |
| auto | getBpm () const -> double |
| |
| auto | getScroll () const -> double |
| |
| auto | finish (const ChartData &chartData) -> BmsScore * |
| |
A player that plays automatically, hitting all notes perfectly.
The AutoPlayer class plays automatically, hitting all notes perfectly. Its score is not saved.