resonance 1.0.1
Loading...
Searching...
No Matches
nowbarmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
5class Player;
6
24class NowBarMsg : public Message {
25public:
35 static Message *New();
36
44 virtual Message *Clone();
45
53 virtual int Type();
54
62 virtual const char *GetName() const;
63
71 int mTrack;
72
74 float mLane;
75};
76
87extern int g_nNowBarMsgType;
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Event the game passes between a MsgSource and a MsgSink.
Definition nowbarmsg.h:24
float mLane
Definition nowbarmsg.h:74
virtual Message * Clone()
Produce a heap copy of this message.
Player * mPlayer
Definition nowbarmsg.h:73
int mTrack
The track of the now bar.
Definition nowbarmsg.h:71
virtual int Type()
Report this message's registered identity.
virtual const char * GetName() const
Report this message's class name.
static Message * New()
Produce a default-constructed message on the heap.
One participant in a session, local or remote.
Definition player.h:39
int g_nNowBarMsgType
Identity that NowBarMsg::Type() reports.