Пример #1
0
 protected abstract void RemoveUnitFromGrid(AUnitController unitController);
Пример #2
0
 public void RemoveEnemy(AUnitController unitController)
 {
     _enemiesOnGrid.Remove(unitController);
 }
Пример #3
0
 protected override void RemoveUnitFromGrid(AUnitController unitController)
 {
     _grid.RemoveCharacter(unitController);
 }
Пример #4
0
 public void AddEnemy(AUnitController unitController)
 {
     _enemiesOnGrid.Add(unitController);
 }
Пример #5
0
 public void RemoveCharacter(AUnitController unitController)
 {
     _charactersOnGrid.Remove(unitController);
 }
Пример #6
0
 public void AddCharacter(AUnitController unitController)
 {
     _charactersOnGrid.Add(unitController);
 }
Пример #7
0
 protected override void RemoveUnitFromGrid(AUnitController unitController)
 {
     _grid.RemoveEnemy(unitController);
 }
Пример #8
0
 public InstancedUnit(int prefabInstanceId, AUnitController unitController)
 {
     PrefabInstanceId = prefabInstanceId;
     UnitController   = unitController;
 }