Example #1
0
 public NamelessDeath(Nameless zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Nameless\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(48f, 95f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Example #2
0
 public NamelessWalk(Nameless zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Nameless\Walk");
     this.Image.Delay = 80;
     this.Align = new Vector2(3f, 93f);
     this.Velocity = 2.5f;
 }
Example #3
0
 public NamelessAttack(Nameless zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Nameless\Attack");
     this.Image.Delay = 40;
     this.Align = new Vector2(15f, 101f);
     this.Damage = 7;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }