protected abstract void RemoveUnitFromGrid(AUnitController unitController);
public void RemoveEnemy(AUnitController unitController) { _enemiesOnGrid.Remove(unitController); }
protected override void RemoveUnitFromGrid(AUnitController unitController) { _grid.RemoveCharacter(unitController); }
public void AddEnemy(AUnitController unitController) { _enemiesOnGrid.Add(unitController); }
public void RemoveCharacter(AUnitController unitController) { _charactersOnGrid.Remove(unitController); }
public void AddCharacter(AUnitController unitController) { _charactersOnGrid.Add(unitController); }
protected override void RemoveUnitFromGrid(AUnitController unitController) { _grid.RemoveEnemy(unitController); }
public InstancedUnit(int prefabInstanceId, AUnitController unitController) { PrefabInstanceId = prefabInstanceId; UnitController = unitController; }