Пример #1
0
 public PoisonShot(Game game, Tower parent, Creep target, List <Creep> creeps,
                   Vector2 position, string shotTextName, float speed, float damage,
                   float time, int amount, float counterTime) :
     base(game, parent, target, creeps, position, shotTextName, speed, damage)
 {
     Time        = time;
     Amount      = amount;
     CounterTime = counterTime;
     Parent      = (PoisonTower)parent;
 }
Пример #2
0
 public PoisonShot(Game game, Tower parent, Creep target, List<Creep> creeps, 
     Vector2 position, string shotTextName, float speed, float damage,
     float time, int amount, float counterTime) : 
     base(game, parent, target, creeps, position, shotTextName, speed, damage)
 {
     Time = time;
     Amount = amount;
     CounterTime = counterTime;
     Parent = (PoisonTower) parent;
 }