Struct amethyst_engine::Application
[−]
[src]
pub struct Application { /* fields omitted */ }
User-friendly facade for building games. Manages main loop.
Methods
impl Application
[src]
fn new<T: 'static>(initial_state: T) -> Application where
T: State,
T: State,
Creates a new Application with the given initial game state.
fn run(&mut self)
Starts the application and manages the game loop.