private IEnumerator ActivateArea(int turns, UpgradeArea area) { int activatingTurn = _currentTurn + turns; while (_currentTurn < activatingTurn) { yield return(null); } area.EnableArea(true); }
public void DisableArea(UpgradeArea area) { area.EnableArea(false); _activeAreasCounter--; }