[][src]Trait niko::Game

pub trait Game {
    fn initialize(&mut self, context: &mut Context) -> Result<(), Error>;
fn update(&mut self, context: &mut Context) -> Result<(), Error>;
fn draw(&mut self, context: &mut Context) -> Result<(), Error>; }

Required methods

fn initialize(&mut self, context: &mut Context) -> Result<(), Error>

fn update(&mut self, context: &mut Context) -> Result<(), Error>

fn draw(&mut self, context: &mut Context) -> Result<(), Error>

Loading content...

Implementors

Loading content...