Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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));
 }