Logic for tower objects.
Inheritance: Actor
Beispiel #1
0
 private void UpdateTower(Tower theOneToOneUp)
 {
     if (theOneToOneUp.CanLevel && CurrentPlayer.WithdrawalMoney(theOneToOneUp.GetTowerStats().CostToNext))
     {
         theOneToOneUp.LevelUp();
     }
 }