Input event of a button press that names only the player.
Definition btnevent.h:15
Input event that changes the section a player is on.
Definition changesectionevent.h:10
Rules of the duel rule set.
Definition duellogic.h:35
void Handle(const RotateEvent &event) override
Record a rotation.
void PollEnding() override
Advance the sequence that follows the end of the duel.
void Handle(const PlayNoteEvent &event) override
Record a gem button.
void PollSongLoad() override
Advance the song load.
Definition duel.h:203
void OnStart() override
Finish starting the song.
void Handle(const ChangeSectionEvent &event) override
Ignore a section change.
Definition duel.h:137
void Handle(const BtnEvent< 8 > &event) override
Ignore a button event of command 8.
Definition duel.h:82
bool IsFinished() override
Report whether the duel ended without a player abandoning it.
void Handle(const StickEvent< 2 > &event) override
Record a stick event of command 2.
void PollAssetLoad() override
Advance the effect bank load.
Definition duel.h:177
bool IsAssetLoadDone() override
Report whether the effect bank is loaded.
bool IsEndingDone() override
Advance the song's track loader and report whether it finished.
void BuildTracks(int nStartTick) override
Build the display of the two players' tracks.
void SetLogic(DuelLogic *pLogic)
Install the logic in the world and keep it in mLogic.
void Handle(const BtnEvent< 5 > &event) override
Record a button event of command 5.
void Handle(const StickEvent< 6 > &event) override
Record a stick event of command 6.
void BeginAssetLoad() override
Load the effect bank of the duel into its synthesiser slot.
void CreateLogic() override
Build a DuelLogic for the song and install it.
int GetRuleSet() const override
Report the duel rule set.
Definition duel.h:44
Duel()
Construct a duel world.
void Handle(const BtnEvent< 4 > &event) override
Record a button event of command 4.
void BeginEnding() override
Stop the song's track loader and start it again.
bool IsSongLoadDone() override
Advance the song's track loader and report whether it finished.
void Handle(const BtnEvent< 9 > &event) override
Ignore a button event of command 9.
Definition duel.h:147
void Handle(const BtnEvent< 3 > &event) override
Record a button event of command 3.
~Duel() override
Release the world.
void BeginSongLoad() override
Start the song's track loader.
void Handle(const BtnEvent< 10 > &event) override
Ignore a button event of command 10.
Definition duel.h:157
@ kRuleSetDuel
Definition gamedb.h:33
Input event that plays a note on one of the three gem buttons.
Definition playnoteevent.h:10
Input event that rotates a player's view of the tracks by one track.
Definition rotateevent.h:11
Input event of an analog stick position.
Definition stickevent.h:15
World()
Construct a world with no game state.