예제 #1
0
 public void EnableSoldierRegion(bool bEnable, SoldierRegion inSoldierRegion)
 {
     if ((inSoldierRegion != null) && this.soldierAreas.Contains(inSoldierRegion))
     {
         if (bEnable)
         {
             inSoldierRegion.Startup();
         }
         else
         {
             inSoldierRegion.Stop();
         }
     }
 }
예제 #2
0
 public void EnableSoldierRegion(bool bEnable, SoldierRegion inSoldierRegion)
 {
     if (inSoldierRegion == null || !this.soldierAreas.Contains(inSoldierRegion))
     {
         return;
     }
     if (bEnable)
     {
         inSoldierRegion.Startup();
     }
     else
     {
         inSoldierRegion.Stop();
     }
 }