public class BasicObjectiveHelper extends AbstractObjectiveHelper
AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature, AbstractObjectiveHelper.ObjectiveEvalConstants
Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> |
HEURISTIC_ORDER |
private static java.util.logging.Logger |
LOGGER |
ai, attackerToKnowledge, client, defenderToKnowledge, oec, variant
Constructor and Description |
---|
BasicObjectiveHelper(Client client,
AbstractAI ai,
Variant variant) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TacticalObjective> |
attackerObjective()
Currently attackerObjective is very dumb:
try and kill the Titan (if there) and the biggest creature
|
protected java.util.List<TacticalObjective> |
commonObjective(Legion myself) |
java.util.List<TacticalObjective> |
defenderObjective() |
private AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature |
findCreatureToDestroyInAttacker()
really stupid heuristic
|
private static final java.util.logging.Logger LOGGER
private static final java.util.Comparator<AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> HEURISTIC_ORDER
public BasicObjectiveHelper(Client client, AbstractAI ai, Variant variant)
private AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature findCreatureToDestroyInAttacker()
protected java.util.List<TacticalObjective> commonObjective(Legion myself)
public java.util.List<TacticalObjective> attackerObjective()
public java.util.List<TacticalObjective> defenderObjective()