![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Fired when the game should switch states. This event type is primarily for decoupling input code in Core from state code in Game. More...
#include <StateChange.hpp>
Public Types | |
enum | Type { GamePaused = 0 } |
The type of state change that should occur. More... | |
Public Member Functions | |
StateChange (Type t) | |
Construct a new State Change event. More... | |
Public Attributes | |
const Type | type |
The type of state change that should occur. More... | |
Fired when the game should switch states. This event type is primarily for decoupling input code in Core from state code in Game.
Definition at line 15 of file StateChange.hpp.
The type of state change that should occur.
Enumerator | |
---|---|
GamePaused | The game should pause. |
Definition at line 17 of file StateChange.hpp.
|
inline |
Construct a new State Change event.
t | The type of state change |
Definition at line 30 of file StateChange.hpp.
const Type core::event::StateChange::type |
The type of state change that should occur.
Definition at line 23 of file StateChange.hpp.