public void SetAITargetDefinition(TargetAdder adder, TargetEvaluator eval, params TargetFilter[] filters) { AITargetHandlerDefintion = new TargetDefinition(adder, filters); if (eval != null) { CustomTargetEvaluator = eval; } }
public void OverrideAITargetDefinitions(TargetDefinition def, TargetEvaluator evaluator = null) { ForeachEffect( effect => effect.AITargetHandlerDefintion = def); if (evaluator != null) { OverrideCustomTargetEvaluators(evaluator); } }
public void SetAITargetDefinition(TargetAdder adder, params TargetFilter[] filters) { AITargetHandlerDefintion = new TargetDefinition(adder, filters); }