Trait qwac::Game[][src]

pub trait Game {
    fn new(timestamp: i64) -> Self;
fn event(&mut self, event: Event);
fn update(&mut self, frame_milliseconds: u32); }

Required methods

Create a new Game of this type, starting at the given time in seconds.

Handle an input event.

Do processing and rendering. delta tells you the time in seconds between this frame and the last one.

Implementors