Example #1
0
 public GhoulDeath(Ghoul zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Ghoul\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(67f, 89f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Example #2
0
 public GhoulWalk(Ghoul zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Ghoul\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(13f, 84f);
     this.Velocity = 2.5f;
 }
Example #3
0
 public GhoulAttack(Ghoul zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Ghoul\Attack");
     this.Image.Delay = 50;
     this.Align = new Vector2(18f, 98f);
     this.Damage = 9;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }