resonance 1.0.1
Loading...
Searching...
No Matches
gameovermsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/message.h"
4
21class GameOverMsg : public Message {
22public:
32 static Message *New();
33
41 virtual Message *Clone();
42
50 virtual int Type();
51
59 virtual const char *GetName() const;
60};
61
72extern int g_nGameOverMsgType;
Event the game passes between a MsgSource and a MsgSink.
Definition gameovermsg.h:21
virtual Message * Clone()
Produce a heap copy of this message.
virtual const char * GetName() const
Report this message's class name.
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_nGameOverMsgType
Identity that GameOverMsg::Type() reports.