Contains common types that can be glob-imported (
*) for convenience.
Default game data.
Builder for default game data
State data encapsulates the data sent to all state functions from the application main loop.
The enum holding the different types of event that can be received in a
Types of state transitions. T is the type of shared data between states. E is the type of events
A common trait for
Trait implemented by the
Initialise trait for game data
A trait which defines game states that can be used by the state machine.
Extension functionality associated systems.
An easy way to name an
An Application is the root object of the game engine. It binds the OS event loop, state machines, timers and other core components in a central place.
The type of a callback.
This is meant to be created from within asynchonous functions (
A simple default
Event queue to trigger state