class CreatureAttackTacticalObjective extends AbstractTacticalObjective
Modifier and Type | Field and Description |
---|---|
private AbstractAI |
ai |
private BattleEvalConstants |
bec |
private Client |
client |
private Creature |
creature |
private Legion |
liveLegion |
Constructor and Description |
---|
CreatureAttackTacticalObjective(float priority,
Client client,
Legion liveLegion,
Creature creature,
AbstractAI ai,
BattleEvalConstants bec) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
java.lang.String |
getDescription()
Get the description of this objective.
|
boolean |
objectiveAttained()
Whether the objective is already achieved
|
ValueRecorder |
situationContributeToTheObjective()
This is mostly a copy/paste from the EvaluateCritterMove_Strike
and EvaluateCritterMove_Rangestrike functions in SimpleAI.
|
changePriority, getPriority
private final Creature creature
private final Legion liveLegion
private final Client client
private final AbstractAI ai
private final BattleEvalConstants bec
CreatureAttackTacticalObjective(float priority, Client client, Legion liveLegion, Creature creature, AbstractAI ai, BattleEvalConstants bec)
public boolean objectiveAttained()
TacticalObjective
public int getCount()
public ValueRecorder situationContributeToTheObjective()
public java.lang.String getDescription()
TacticalObjective