public override void Execute(IAIContext context) { PlayerTargetContext playerTargetContext = context as PlayerTargetContext; if (playerTargetContext != null) { TargetSelectorPlayer.Evaluate(playerTargetContext, base.scorers, playerTargetContext.Players, playerTargetContext.PlayerCount, this.allScorersMustScoreAboveZero, out playerTargetContext.Target, out playerTargetContext.Score, out playerTargetContext.Index, out playerTargetContext.LastKnownPosition); } }
public virtual void Execute(IAIContext context) { PlayerTargetContext context1 = context as PlayerTargetContext; if (context1 == null) { return; } TargetSelectorPlayer.Evaluate(context1, this.get_scorers(), context1.Players, context1.PlayerCount, this.allScorersMustScoreAboveZero, out context1.Target, out context1.Score, out context1.Index, out context1.LastKnownPosition); }