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