51 CatchMsg(
int nTick,
int nTrack,
int nGem,
int nHit,
Player *pPlayer,
int nCaught,
int nTotal)
int g_nCatchMsgType
Identity that CatchMsg::Type() reports.
int mTick
Definition catchmsg.h:94
virtual int Type()
Report this message's registered identity.
int mTotal
Definition catchmsg.h:100
CatchMsg()
Construct a message with the payload unset.
Definition catchmsg.h:32
CatchMsg(int nTick, int nTrack, int nGem, int nHit, Player *pPlayer, int nCaught, int nTotal)
Report a caught or missed gem.
Definition catchmsg.h:51
virtual const char * GetName() const
Report this message's class name.
int mGem
Definition catchmsg.h:96
int mCaught
Definition catchmsg.h:99
int mTrack
Definition catchmsg.h:95
static Message * New()
Produce a default-constructed message on the heap.
virtual Message * Clone()
Produce a heap copy of this message.
Player * mPlayer
Definition catchmsg.h:98
int mHit
Definition catchmsg.h:97
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
constexpr int kTickInfinity
Position the printer renders as positive infinity.
Definition tick.h:15