public DrowdedDeath(Drowded zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Drowded\Death"); this.Image.Delay = 40; this.Align = new Vector2(19f, 76f); this.Timer.Interval = TimeSpan.FromMilliseconds(2000); }
public DrowdedWalk(Drowded zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Drowded\Walk"); this.Image.Delay = 40; this.Align = new Vector2(14f, 77f); this.Velocity = 0.75f; }
public DrowdedAttack(Drowded zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Drowded\Attack"); this.Image.Delay = 100; this.Align = new Vector2(14f, 78f); this.Damage = 16; this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1)); }