[][src]Struct amethyst::GameData

pub struct GameData<'a, 'b> { /* fields omitted */ }

Default game data.

The lifetimes are for the systems inside and can be 'static unless a system has a borrowed field.

Methods

impl<'a, 'b> GameData<'a, 'b>
[src]

Create new game data

Update game data

Trait Implementations

impl<'a, 'b> DataInit<GameData<'a, 'b>> for GameDataBuilder<'a, 'b>
[src]

impl<T: SimpleState> State<GameData<'static, 'static>, StateEvent> for T
[src]

Executed when the game state begins.

Executed when the game state exits.

Executed when a different game state is pushed onto the stack.

Executed when the application returns to this game state once again.

Executed on every frame before updating, for use in reacting to events.

Executed repeatedly at stable, predictable intervals (1/60th of a second by default).

Executed on every frame immediately, as fast as the engine will allow (taking into account the frame rate limit).

Executed repeatedly at stable, predictable intervals (1/60th of a second by default), even when this is not the active state, as long as this state is on the StateMachine's state-stack.

Executed on every frame immediately, as fast as the engine will allow (taking into account the frame rate limit), even when this is not the active state, as long as this state is on the StateMachine's state-stack.

Auto Trait Implementations

impl<'a, 'b> !Send for GameData<'a, 'b>

impl<'a, 'b> !Sync for GameData<'a, 'b>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Any for T where
    T: Any

impl<T> Erased for T

impl<T> Erased for T

impl<T> SetParameter for T

Sets value as a parameter of self.