Пример #1
0
 public void upgradeToSlow()
 {
     type = towerTypes.slow;
 }
Пример #2
0
 public void upgradeToPoison()
 {
     type = towerTypes.poison;
 }
Пример #3
0
 public void upgradeToBurn()
 {
     type = towerTypes.burn;
 }
Пример #4
0
 //Series of upgrade functions to upgrade tower to different type
 public void upgradetoFreeze()
 {
     type = towerTypes.freeze;
 }