Function game::edit::validate::try_change_lt [−][src]
pub fn try_change_lt(
ctx: &mut EventCtx<'_>,
map: &mut Map,
l: LaneID,
new_lt: LaneType
) -> Result<EditCmd, Box<dyn State<App>>>
pub fn try_change_lt(
ctx: &mut EventCtx<'_>,
map: &mut Map,
l: LaneID,
new_lt: LaneType
) -> Result<EditCmd, Box<dyn State<App>>>