コード例 #1
0
ファイル: Remorhaz.cs プロジェクト: doanhtdpl/pvz-the-birds
 public RemorhazDeath(Remorhaz zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Remorhaz\Death");
     this.Image.Delay = 40;
     this.Align = new Vector2(18f, 129f);
     this.Timer.Interval = TimeSpan.FromMilliseconds(2000);
 }
コード例 #2
0
ファイル: Remorhaz.cs プロジェクト: doanhtdpl/pvz-the-birds
 public RemorhazWalk(Remorhaz zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Remorhaz\Walk");
     this.Image.Delay = 40;
     this.Align = new Vector2(18f, 146f);
     this.Velocity = 0.75f;
 }
コード例 #3
0
ファイル: Remorhaz.cs プロジェクト: doanhtdpl/pvz-the-birds
 public RemorhazAttack(Remorhaz zombie)
     : base(zombie)
 {
     this.Image = SpriteBank.GetAnimation(@"Images\Zombies\Spiders\Remorhaz\Attack");
     this.Image.Delay = 100;
     this.Align = new Vector2(57f, 159f);
     this.Damage = 20;
     this.AttackTimer.Interval = TimeSpan.FromMilliseconds(this.Image.Delay * (this.Image.Frames.Count + 1));
 }