Пример #1
0
 public TatteredDeath(Tattered zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Skeletons\Tattered\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(26f, 93f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Пример #2
0
 public TatteredWalk(Tattered zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Skeletons\Tattered\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(10f, 87f);
     this.Velocity = 2;
 }
Пример #3
0
 public TatteredAttack(Tattered zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Skeletons\Tattered\Attack");
     this.Image.Delay = 60;
     this.Align = new Vector2(20f, 99f);
     this.Damage = 10;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }