game::pregame

Function enter_state

Source
fn enter_state(
    ctx: &mut EventCtx<'_>,
    app: &mut App,
    args: Vec<&str>,
) -> Box<dyn State<App>>