public SwordSkeletonDeath(SwordSkeleton zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Skeletons\GiantSkeletonSword\Death"); this.Image.Delay = 40; this.Align = new Vector2(35f, 99f); this.Timer.Interval = TimeSpan.FromMilliseconds(2000); }
public SwordSkeletonWalk(SwordSkeleton zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Skeletons\GiantSkeletonSword\Walk"); this.Image.Delay = 40; this.Align = new Vector2(27f, 94f); this.Velocity = 2; }
public SwordSkeletonAttack(SwordSkeleton zombie) : base(zombie) { this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Skeletons\GiantSkeletonSword\Attack"); this.Image.Delay = 60; this.Align = new Vector2(30f, 112f); this.Damage = 12; this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1)); }