예제 #1
0
 public void removeUnit(Unit u)
 {
     activeUnits.Remove(u);
     if (activeUnits.Count <= 0)
     {
         state = game.stateFactory.create("round-waiting");
     }
 }
예제 #2
0
 public void registerUnit(Unit u)
 {
     activeUnits.Add(u);
 }