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.
A [Resource] container, which provides methods to insert, access and manage the contained resources.
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
This trait provides some extension methods to make working with shred's [World] easier.
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