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); }
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; }
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)); }