Exemplo n.º 1
0
 public DriderDeath(Drider zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Drider\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(44f, 79f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Exemplo n.º 2
0
 public DriderWalk(Drider zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Drider\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(55f, 92f);
     this.Velocity = 1.5f;
 }
Exemplo n.º 3
0
 public DriderAttack(Drider zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Drider\Attack");
     this.Image.Delay = 60;
     this.Align = new Vector2(25f, 85f);
     this.Damage = 20;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }