Example #1
0
 public Tower(int iX, int iY, float iAttackCooldown, int iHotkeyNumber)
 {
     _x          = iX;
     _y          = iY;
     attackTimer = new CoolDownTimer(iAttackCooldown);
     attackTimer.Reset();
     attackTimer.SecondsElapsed = iAttackCooldown / 2;
     towerInfo    = "undefined";
     HotkeyNumber = iHotkeyNumber;
 }
Example #2
0
 public Tower(int x, int y, float iAttackCooldown, int iHotkeyNumber)
 {
     _x           = x;
     _y           = y;
     _attackTimer = new CoolDownTimer(iAttackCooldown);
     _attackTimer.Reset();
     _attackTimer.SecondsElapsed = iAttackCooldown / 2;
     TowerInfo    = "undefined";
     HotkeyNumber = iHotkeyNumber;
 }