int mGhost
Definition gemmsg.h:111
GemMsg()
Construct a message with only the position set, to kTickInfinity.
Definition gemmsg.h:37
virtual Message * Clone()
Produce a heap copy of this message.
int mGem
Definition gemmsg.h:109
Sch::Tick mPosition
Definition gemmsg.h:107
int mTrack
Definition gemmsg.h:108
GemMsg(Sch::Tick position, int nTrack, int nGem, Player *pPlayer, int nGhost=0)
Report a gem played on a track.
Definition gemmsg.h:54
Player * mPlayer
Definition gemmsg.h:110
virtual int Type()
Report this message's registered identity.
static Message * New()
Produce a default-constructed message on the heap.
virtual const char * GetName() const
Report this message's class name.
virtual void PrintExtra(std::ostream &stream) const
Write the track, the position, the gem, and the player's colour name, separated by spaces,...
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
One participant in a session, local or remote.
Definition player.h:39
Song position in MIDI ticks, printed as measure, beat, and tick.
Definition tick.h:70
int g_nGemMsgType
Identity that GemMsg::Type() reports.