Struct amethyst::prelude::GameData [−][src]
pub struct GameData<'a, 'b> { /* fields omitted */ }Default game data
Methods
impl<'a, 'b> GameData<'a, 'b>[src]
impl<'a, 'b> GameData<'a, 'b>pub fn new(dispatcher: Dispatcher<'a, 'b>) -> Self[src]
pub fn new(dispatcher: Dispatcher<'a, 'b>) -> SelfCreate new game data
pub fn update(&mut self, world: &World)[src]
pub fn update(&mut self, world: &World)Update game data
Trait Implementations
impl<'a, 'b> DataInit<GameData<'a, 'b>> for GameDataBuilder<'a, 'b>[src]
impl<'a, 'b> DataInit<GameData<'a, 'b>> for GameDataBuilder<'a, 'b>