Exemplo n.º 1
0
        public void MapDeselect()
        {
            if (!MapSelectedUnitLink.IsConnected)
            {
                Debugger.Break();
                return;
            }

            MapSelectedUnitLink.Disconnect();
        }
Exemplo n.º 2
0
 public void DisconnectFromMap()
 {
     if (MapLink.IsConnected)
     {
         MapLink.Disconnect();
     }
     if (MapSelectedUnitLink.IsConnected)
     {
         MapSelectedUnitLink.Disconnect();
     }
     Sectors.Clear();
 }