[−][src]Function game::common::city_picker::switch_map
fn switch_map(
ctx: &mut EventCtx<'_>,
app: &mut App,
name: &str,
on_load: Box<dyn Fn(&mut EventCtx<'_>, &mut App) -> Transition>
) -> Transition
fn switch_map(
ctx: &mut EventCtx<'_>,
app: &mut App,
name: &str,
on_load: Box<dyn Fn(&mut EventCtx<'_>, &mut App) -> Transition>
) -> Transition