Package net.sf.colossus.ai.objectives
Class BasicObjectiveHelper
java.lang.Object
net.sf.colossus.ai.objectives.AbstractObjectiveHelper
net.sf.colossus.ai.objectives.BasicObjectiveHelper
- All Implemented Interfaces:
IObjectiveHelper
- Direct Known Subclasses:
SecondObjectiveHelper
A naive (basic!) implementation of @IObjectiveHelper.
This is still mostly for testing the code.
- Author:
- Romain Dolbeau
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.colossus.ai.objectives.AbstractObjectiveHelper
AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature, AbstractObjectiveHelper.ObjectiveEvalConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator
<AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> private static final Logger
Fields inherited from class net.sf.colossus.ai.objectives.AbstractObjectiveHelper
ai, attackerToKnowledge, client, defenderToKnowledge, oec, variant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCurrently attackerObjective is very dumb: try and kill the Titan (if there) and the biggest creatureprotected List
<TacticalObjective> commonObjective
(Legion myself) really stupid heuristic
-
Field Details
-
LOGGER
-
HEURISTIC_ORDER
private static final Comparator<AbstractObjectiveHelper.AllThereIsToKnowAboutYourCreature> HEURISTIC_ORDER
-
-
Constructor Details
-
BasicObjectiveHelper
-
-
Method Details
-
findCreatureToDestroyInAttacker
really stupid heuristic -
commonObjective
-
attackerObjective
Currently attackerObjective is very dumb: try and kill the Titan (if there) and the biggest creature -
defenderObjective
-