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