Function game::edit::roads::prompt_for_lanes [−][src]
pub fn prompt_for_lanes(
ctx: &mut EventCtx<'_>,
road: &Road
) -> Box<dyn State<App>>
Specify the lane types for a road using a text box. This is a temporary UI to start experimenting with widening roads. It'll be replaced by a real UI once the design is ready.