コード例 #1
0
 public SoldierAttacking(SoldierAI ai) : base(0.2f)
 {
     this.ai    = ai;
     this.stats = (SoldierStats)ai.stats;
 }
コード例 #2
0
 public SoldierRetreat(SoldierAI ai, Unit fearSource = null) : base(interval: 0.2f)
 {
     this.ai         = ai;
     this.stats      = (SoldierStats)ai.stats;
     this.fearSource = fearSource;
 }
コード例 #3
0
 public SoldierHide(SoldierAI ai, Unit fearSource = null) : base(0.4f)
 {
     this.ai         = ai;
     this.stats      = (SoldierStats)ai.stats;
     this.fearSource = fearSource;
 }
コード例 #4
0
 public SoldierPursuingTarget(SoldierAI ai) : base(ai)
 {
     this.ai    = ai;
     this.stats = (SoldierStats)ai.stats;
 }