Position at one gem of a catch track, walked in the order the song plays the gems.
Definition gemcursor.h:14
One participant in a song: the track the participant plays, the score, and the streak.
Definition player.h:19
Interface through which the rules react to the phrases of a player's track.
Definition trackreactor.h:12
virtual void HitGem(int nTick, const GemCursor &cursor, bool bRemote)=0
Act on a gem the player hit.
virtual GemCursor GetCursor()=0
Report a cursor at the first gem the player catches.
virtual void MissGem(int nTick, const GemCursor &cursor, bool bRemote)=0
Act on a gem the player missed.
virtual Player * GetPlayer() const =0
Report the player who plays the track.
virtual ~TrackReactor()
Release the interface.
Definition trackreactor.h:20
virtual int GetTicksPerBar() const =0
Report the song ticks in one bar.
virtual bool IsBarActive(int nBar)=0
Report whether the phrase of a bar can still be played.