Gamedev Framework (gf)
0.3.0
A C++11 framework for 2D games
|
The base class for all messages. More...
#include <gf/Message.h>
Static Public Attributes | |
static const Id | type = InvalidId |
The default (invalid) type. More... | |
The base class for all messages.
gf::Message is the base class for all the messages that are sent to a message manager. A message must derive from this class and define a static unique type.
Here is an example for defining a new message type: