public override void Deselect() { selectedEventTile = null; selectedTile = null; LevelDisplayControl.DeselectTiles(); LevelDisplayControl.DeselectSelectionGrid(); EditorControl.PropertyGrid.CloseProperties(); }
public override void Paste() { if (clipboard != null) { LevelDisplayControl.DeselectSelectionGrid(); LevelDisplayControl.SetSelectionGrid( clipboard.Duplicate(), Point2I.Zero, EditorControl.Level); } }
//----------------------------------------------------------------------------- // Selection //----------------------------------------------------------------------------- public override void Cut() { LevelDisplayControl.PickupSelectionGrid(); if (LevelDisplayControl.SelectionGrid != null) { clipboard = LevelDisplayControl.SelectionGrid; LevelDisplayControl.SelectionGrid = null; LevelDisplayControl.DeselectSelectionGrid(); } }
public override void Deselect() { isCreatingSelectionBox = false; isMovingSelectionBox = false; LevelDisplayControl.DeselectSelectionGrid(); }