public GiantSpiderDeath(GiantSpider zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Giant\Death"); this.Image.Delay = 40; this.Align = new Vector2(8f, 69f); this.Timer.Interval = TimeSpan.FromMilliseconds(2000); }
public GiantSpiderWalk(GiantSpider zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Giant\Walk"); this.Image.Delay = 40; this.Align = new Vector2(24f, 56f); this.Velocity = 1.5f; }
public GiantSpiderAttack(GiantSpider zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Giant\Attack"); this.Image.Delay = 80; this.Align = new Vector2(38f, 74f); this.Damage = 10; this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1)); }