resonance 1.0.1
Loading...
Searching...
No Matches
fadegamemsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
19class FadeGameMsg : public Message {
20public:
30 static Message *New();
31
39 virtual Message *Clone();
40
48 virtual int Type();
49
57 virtual const char *GetName() const;
58
60 int mFadeIn;
61};
62
73extern int g_nFadeGameMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition fadegamemsg.h:19
virtual Message * Clone()
Produce a heap copy of this message.
int mDuration
Definition fadegamemsg.h:59
virtual const char * GetName() const
Report this message's class name.
int mFadeIn
Definition fadegamemsg.h:60
static Message * New()
Produce a default-constructed message on the heap.
virtual int Type()
Report this message's registered identity.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
int g_nFadeGameMsgType
Identity that FadeGameMsg::Type() reports.