resonance 1.0.1
Loading...
Searching...
No Matches
nullplayer.h
Go to the documentation of this file.
1#pragma once
2
3#include "game/player.h"
4
27class NullPlayer : public Player {
28public:
37
48 virtual int IsNull();
49
54 virtual void DispatchPriv(Message *message);
55
68};
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
virtual int IsNull()
Report that this player is a stand-in.
static NullPlayer sInstance
Stand-in every unoccupied player reference stores.
Definition nullplayer.h:67
NullPlayer()
Build the stand-in.
virtual void DispatchPriv(Message *message)
Player(int nId, const HxStr &colorName, const FreqAppearance *pAppearance)
Register the player under its identifier and start its tallies.