public LemureDeath(Lemure zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Lemure\Death"); this.Image.Delay = 40; this.Align = new Vector2(0f, 85f); this.Timer.Interval = TimeSpan.FromMilliseconds(2000); }
public LemureWalk(Lemure zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Lemure\Walk"); this.Image.Delay = 40; this.Align = new Vector2(6f, 78f); this.Velocity = 0.5f; }
public LemureAttack(Lemure zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Lemure\Attack"); this.Image.Delay = 100; this.Align = new Vector2(22f, 97f); this.Damage = 20; this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1)); }