[−][src]Function game::sandbox::minimap::make_agent_toggles
fn make_agent_toggles(
ctx: &mut EventCtx<'_>,
app: &App,
is_enabled: [bool; 4]
) -> Vec<Widget>
is_enabled
: are (car, bike, bus, pedestrian) toggles enabled
returns Widgets for (car, bike, bus, pedestrian)