Ejemplo n.º 1
0
 public MummyDeath(Mummy zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Mummy\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(20f, 79f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Ejemplo n.º 2
0
 public MummyWalk(Mummy zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Mummy\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(5f, 72f);
     this.Velocity = 1.5f;
 }
Ejemplo n.º 3
0
 public MummyAttack(Mummy zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Mummy\Attack");
     this.Image.Delay = 50;
     this.Align = new Vector2(32f, 81f);
     this.Damage = 12;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }