示例#1
0
 public HistachiiDeath(Histachii zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Histachii\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(13f, 76f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
示例#2
0
 public HistachiiWalk(Histachii zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Histachii\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(3f, 72f);
     this.Velocity = 2.5f;
 }
示例#3
0
 public HistachiiAttack(Histachii zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Zombies\Histachii\Attack");
     this.Image.Delay = 60;
     this.Align = new Vector2(23f, 73f);
     this.Damage = 15;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }