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