resonance 1.0.1
Loading...
Searching...
No Matches
endgamemsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
18class EndGameMsg : public Message {
19public:
29 static Message *New();
30
38 virtual Message *Clone();
39
47 virtual int Type();
48
56 virtual const char *GetName() const;
57
66};
67
78extern int g_nEndGameMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition endgamemsg.h:18
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.
virtual Message * Clone()
Produce a heap copy of this message.
int mRestart
Non-zero to start another local game at once rather than return to the front end.
Definition endgamemsg.h:65
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
int g_nEndGameMsgType
Identity that EndGameMsg::Type() reports.