Exemple #1
0
 public void RemoveUnit(UnitEntity unit)
 {
     units[unit.Team].Remove(unit.GetComponent <BodyComponent>().Body);
 }
Exemple #2
0
 public void AddUnit(UnitEntity unit)
 {
     units[unit.Team].Add(unit.GetComponent <BodyComponent>().Body, unit);
 }