public abstract class AbstractTacticalObjective extends java.lang.Object implements TacticalObjective
Modifier and Type | Field and Description |
---|---|
private float |
priority |
Constructor and Description |
---|
AbstractTacticalObjective(float priority) |
Modifier and Type | Method and Description |
---|---|
float |
changePriority(float newPriority)
Change the priority of this objective.
|
float |
getPriority()
Get the current priority of this objective.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, objectiveAttained, situationContributeToTheObjective
public float getPriority()
TacticalObjective
getPriority
in interface TacticalObjective
public float changePriority(float newPriority)
TacticalObjective
changePriority
in interface TacticalObjective
newPriority
- The new priority.