Ejemplo n.º 1
0
 public ToCloserMonsterWeapon(Turret tower)
     : base(range:tower.Range, damage:4, cooldown:40)
 {
     ShootSound = new Sound(Resources.Sound.Monsters.BASIC_ENEMY_SHOOT);
     ShootSound.Volume = 0.2f;
     Tower = tower;
 }
Ejemplo n.º 2
0
 public AoEWeapon(Turret tower)
     : base(range:tower.Range, damage:1, cooldown: 13)
 {
     ShootSound = new Sound(Resources.Sound.Monsters.BASIC_ENEMY_SHOOT);
     ShootSound.Volume = 0.2f;
     Tower = tower;
     Range = 100;
     RangeImage = Image.CreateCircle(100, new Color(0x25456320));
     RangeImage.CenterOrigin();
     Tower.AddGraphic(RangeImage);
 }