示例#1
0
 private void SetMapUnitOrder(MapUnitOrder order)
 {
     if (LevelGameScreen.Game != null)
     {
         LevelGameScreen.Game.SetMapUnitOrder(order);
     }
 }
示例#2
0
 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;
        }
        protected UIMapControlInputHandler(InputMode setInputMode, UIMapControl setUIMapControl)
        {
            mapUnitOrder        = MapUnitOrder.None;
            IsSpanningRectangle = false;
            selectionRectangle  = RectangleF.Empty;

            MapControl = setUIMapControl;
            InputMode  = setInputMode;
        }
示例#5
0
 private void SetMapUnitOrder(MapUnitOrder order)
 {
     if (LevelGameScreen.Game != null)
      {
     LevelGameScreen.Game.SetMapUnitOrder(order);
      }
 }
 internal void SetMapUnitOrder(MapUnitOrder setMapUnitOrder)
 {
     mapUnitOrder = setMapUnitOrder;
 }
 internal void SetMapUnitOrder(MapUnitOrder setMapUnitOrder)
 {
     mapUnitOrder = setMapUnitOrder;
 }
示例#8
0
 internal void SetMapUnitOrder(MapUnitOrder setMapUnitOrder)
 {
     if (backgroundWindow != null && backgroundWindow.MapControl != null &&
     backgroundWindow.MapControl.InputHandler != null)
      {
     backgroundWindow.MapControl.InputHandler.SetMapUnitOrder(setMapUnitOrder);
      }
 }