|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TacticalObjective
Interface for a tactical (i.e. when fighting on battlelands) objective. The idea is to set 'objectives' for tha AI to attain when fighting, and then try to bias the moves of the AIs toward achieving said objectives.
Method Summary | |
---|---|
float |
changePriority(float newPriority)
Change the priority of this objective. |
java.lang.String |
getDescription()
Get the description of this objective. |
float |
getPriority()
Get the current priority of this objective. |
boolean |
objectiveAttained()
Whether the objective is already achieved |
ValueRecorder |
situationContributeToTheObjective()
How much does the 'current situation' contributes to the objective. |
Method Detail |
---|
boolean objectiveAttained()
ValueRecorder situationContributeToTheObjective()
float getPriority()
java.lang.String getDescription()
float changePriority(float newPriority)
newPriority
- The new priority.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |