Function main_loop

Source
pub fn main_loop<GS>(
    bterm: BTerm,
    gamestate: GS,
) -> Result<(), Box<dyn Error + Send + Sync>>
where GS: GameState,
Expand description

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