Ejemplo n.º 1
0
 public NupperiboDeath(Nupperibo zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Nupperibo\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(18f, 71f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
Ejemplo n.º 2
0
 public NupperiboWalk(Nupperibo zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Nupperibo\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(10f, 62f);
     this.Velocity = 0.75f;
 }
Ejemplo n.º 3
0
 public NupperiboAttack(Nupperibo zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Nupperibo\Attack");
     this.Image.Delay = 100;
     this.Align = new Vector2(19f, 82f);
     this.Damage = 13;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }