private void SetMapUnitOrder(MapUnitOrder order) { if (LevelGameScreen.Game != null) { LevelGameScreen.Game.SetMapUnitOrder(order); } }
internal void SetMapUnitOrder(MapUnitOrder setMapUnitOrder) { if (backgroundWindow != null && backgroundWindow.MapControl != null && backgroundWindow.MapControl.InputHandler != null) { backgroundWindow.MapControl.InputHandler.SetMapUnitOrder(setMapUnitOrder); } }
protected UIMapControlInputHandler(InputMode setInputMode, UIMapControl setUIMapControl) { mapUnitOrder = MapUnitOrder.None; IsSpanningRectangle = false; selectionRectangle = RectangleF.Empty; MapControl = setUIMapControl; InputMode = setInputMode; }
internal void SetMapUnitOrder(MapUnitOrder setMapUnitOrder) { mapUnitOrder = setMapUnitOrder; }