Beispiel #1
0
 public void UpgradeButton2()
 {
     if (Owner.GetType() == typeof(Traps))
     {
         Traps Temp = (Traps)Owner;
         Temp.SetSucessRate(TrapTypesUpgrades.RequestUpgradeAmount(UpgradeType.CatchSuccessChance, Temp.Type));
     }
     else if (Owner.GetType() == typeof(TurretController))
     {
     }
 }
Beispiel #2
0
 public void UpgradeButton3()
 {
     if (Owner.GetType() == typeof(Traps))
     {
         Traps Temp = (Traps)Owner;
         Temp.SetCatcherRaduis(TrapTypesUpgrades.RequestUpgradeAmount(UpgradeType.CatchRaduis, Temp.Type));
     }
     else if (Owner.GetType() == typeof(TurretController))
     {
     }
 }
Beispiel #3
0
 public void UpgradeButton1()
 {
     if (Owner.GetType() == typeof(Traps))
     {
         Traps Temp = (Traps)Owner;
         Temp.SetAttractionTime(TrapTypesUpgrades.RequestUpgradeAmount(UpgradeType.CatchCoolDown, Temp.Type));
     }
     else if (Owner.GetType() == typeof(TurretController))
     {
     }
 }