resonance 1.0.1
Loading...
Searching...
No Matches
powerupfailedmsg.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/hudutil.h"
4#include "msg/message.h"
5
6class Player;
7
22class PowerupFailedMsg : public Message {
23public:
33 static Message *New();
34
42 virtual Message *Clone();
43
51 virtual int Type();
52
60 virtual const char *GetName() const;
61
64};
65
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 powerupfailedmsg.h:22
virtual const char * GetName() const
Report this message's class name.
virtual Message * Clone()
Produce a heap copy of this message.
PowerupType mKind
Definition powerupfailedmsg.h:62
virtual int Type()
Report this message's registered identity.
static Message * New()
Produce a default-constructed message on the heap.
Player * mPlayer
Definition powerupfailedmsg.h:63
PowerupType
Kinds of item the head-up display labels, in the order HudPowerupName() maps them.
Definition hudutil.h:13
int g_nPowerupFailedMsgType
Identity that PowerupFailedMsg::Type() reports.