[−][src]Function ggez::event::run
pub fn run<S>(
ctx: &mut Context,
events_loop: &mut EventsLoop,
state: &mut S
) -> GameResult where
S: EventHandler,
Runs the game's main loop, calling event callbacks on the given state object as events occur.
It does not try to do any type of framerate limiting. See the
documentation for the timer
module for more info.