resonance 1.0.1
Loading...
Searching...
No Matches
susgemmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "mid/tick.h"
4#include "msg/message.h"
5
6class Player;
7
23class SusGemMsg : public Message {
24public:
34 static Message *New();
35
43 virtual Message *Clone();
44
52 virtual int Type();
53
61 virtual const char *GetName() const;
62
64 int mStop;
65 int mLane;
67 float mBlend;
69};
70
81extern int g_nSusGemMsgType;
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
Event the game passes between a MsgSource and a MsgSink.
Definition susgemmsg.h:23
int mFrame
Definition susgemmsg.h:66
virtual const char * GetName() const
Report this message's class name.
int mStripId
Definition susgemmsg.h:63
static Message * New()
Produce a default-constructed message on the heap.
virtual int Type()
Report this message's registered identity.
float mBlend
Definition susgemmsg.h:67
int mLane
Definition susgemmsg.h:65
int mStop
Definition susgemmsg.h:64
virtual Message * Clone()
Produce a heap copy of this message.
Player * mPlayer
Definition susgemmsg.h:68
int g_nSusGemMsgType
Identity that SusGemMsg::Type() reports.
constexpr int kTickInfinity
Position the printer renders as positive infinity.
Definition tick.h:15