Esempio n. 1
0
 public RemorhazDeath(Remorhaz zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Remorhaz\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(18f, 129f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Esempio n. 2
0
 public RemorhazWalk(Remorhaz zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Remorhaz\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(18f, 146f);
     this.Velocity = 0.75f;
 }
Esempio n. 3
0
 public RemorhazAttack(Remorhaz zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Remorhaz\Attack");
     this.Image.Delay = 100;
     this.Align = new Vector2(57f, 159f);
     this.Damage = 20;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }