[][src]Function bracket_lib::prelude::main_loop

pub fn main_loop<GS>(bterm: BTerm, gamestate: GS) where
    GS: GameState

Runs the BTerm application, calling into the provided gamestate handler every tick.