public override void Execute(IAIContext context) { CoverContext coverContext = context as CoverContext; if (coverContext != null) { SelectEnemyHideout.Evaluate(coverContext, base.scorers, coverContext.SampledCoverPoints, coverContext.SampledCoverPoints.Count, this.allScorersMustScoreAboveZero); } }
public virtual void Execute(IAIContext context) { CoverContext context1 = context as CoverContext; if (context1 == null) { return; } SelectEnemyHideout.Evaluate(context1, this.get_scorers(), context1.SampledCoverPoints, context1.SampledCoverPoints.Count, this.allScorersMustScoreAboveZero); }