public void IncreaseDeterioration() { switch (currentDeteriorationLevel) { case DeteriorationLevel.PERFECT: currentDeteriorationLevel = DeteriorationLevel.NORMAL; break; case DeteriorationLevel.NORMAL: currentDeteriorationLevel = DeteriorationLevel.RUINED; break; default: break; } }
public void Repair() { currentDeteriorationLevel = DeteriorationLevel.PERFECT; }