public DriderDeath(Drider zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Drider\Death"); this.Image.Delay = 40; this.Align = new Vector2(44f, 79f); this.Timer.Interval = TimeSpan.FromMilliseconds(2000); }
public DriderWalk(Drider zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Drider\Walk"); this.Image.Delay = 40; this.Align = new Vector2(55f, 92f); this.Velocity = 1.5f; }
public DriderAttack(Drider zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Drider\Attack"); this.Image.Delay = 60; this.Align = new Vector2(25f, 85f); this.Damage = 20; this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1)); }