Package net.citizensnpcs.api.ai
Class SimpleGoalEntry
java.lang.Object
net.citizensnpcs.api.ai.SimpleGoalEntry
- All Implemented Interfaces:
Comparable<GoalController.GoalEntry>
,GoalController.GoalEntry
-
Constructor Details
-
SimpleGoalEntry
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GoalController.GoalEntry>
-
equals
-
getBehavior
- Specified by:
getBehavior
in interfaceGoalController.GoalEntry
- Returns:
- The
Behavior
held by this entry if it holds one, otherwise null
-
getGoal
- Specified by:
getGoal
in interfaceGoalController.GoalEntry
- Returns:
- The
Goal
held by this entry
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceGoalController.GoalEntry
- Returns:
- The goal's priority
-
hashCode
public int hashCode()
-