Example #1
0
 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);
 }
Example #2
0
 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;
 }
Example #3
0
 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));
 }