[−][src]Module amethyst::prelude
Contains common types that can be glob-imported (*) for convenience.
Structs
| ApplicationBuilder |
|
| CallbackQueue | A simple |
| CoreApplication |
|
| GameData | Default game data. |
| GameDataBuilder | Builder for default game data |
| StateData | State data encapsulates the data sent to all state functions from the application main loop. |
| World | A [Resource] container, which provides methods to insert, access and manage the contained resources. |
Enums
| StateEvent | The enum holding the different types of event that can be received in a |
| Trans | Types of state transitions. T is the type of shared data between states. E is the type of events |
Traits
| Builder | A common trait for |
| Config | Trait implemented by the |
| DataInit | Initialise trait for game data |
| EmptyState | An empty |
| SimpleState | A simple |
| State | A trait which defines game states that can be used by the state machine. |
| SystemDesc | Initializes a |
| SystemExt | Extension functionality associated systems. |
| WithNamed | An easy way to name an |
| WorldExt | This trait provides some extension methods to make working with shred's [World] easier. |
Type Definitions
| Application | 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. |
| Callback | The type of a callback.
This is meant to be created from within asynchonous functions ( |
| EmptyTrans | An empty |
| SimpleTrans | A simple default |
| TransEvent | Event queue to trigger state |