public void Apply_Road_Remove() { clsMouseOver.clsOverTerrain mouseOverTerrain = this.GetMouseOverTerrain(); if (mouseOverTerrain != null) { clsMap.clsApplyRoadRemove tool = new clsMap.clsApplyRoadRemove { Map = this.Map }; modProgram.CliffBrush.PerformActionMapTiles(tool, mouseOverTerrain.Tile); this.Map.Update(); this.MapView.DrawViewLater(); } }
public void Apply_Road_Remove() { clsMouseOver.clsOverTerrain MouseOverTerrain = GetMouseOverTerrain(); if ( MouseOverTerrain == null ) { return; } clsMap.clsApplyRoadRemove ApplyRoadRemove = new clsMap.clsApplyRoadRemove(); ApplyRoadRemove.Map = Map; App.CliffBrush.PerformActionMapTiles(ApplyRoadRemove, MouseOverTerrain.Tile); Map.Update(); MapViewControl.DrawViewLater(); }