Package net.citizensnpcs.api.ai
Class SimpleGoalEntry
java.lang.Object
net.citizensnpcs.api.ai.SimpleGoalEntry
- All Implemented Interfaces:
- Comparable<GoalController.GoalEntry>,- GoalController.GoalEntry
- 
Constructor SummaryConstructorsConstructorDescriptionSimpleGoalEntry(Goal goal, int priority) SimpleGoalEntry(Goal goal, Supplier<Integer> priority) 
- 
Method Summary
- 
Constructor Details- 
SimpleGoalEntry
- 
SimpleGoalEntry
 
- 
- 
Method Details- 
compareTo- Specified by:
- compareToin interface- Comparable<GoalController.GoalEntry>
 
- 
equals
- 
getBehavior- Specified by:
- getBehaviorin interface- GoalController.GoalEntry
- Returns:
- The Behaviorheld by this entry if it holds one, otherwise null
 
- 
getGoal- Specified by:
- getGoalin interface- GoalController.GoalEntry
- Returns:
- The Goalheld by this entry
 
- 
getPrioritypublic int getPriority()- Specified by:
- getPriorityin interface- GoalController.GoalEntry
- Returns:
- The goal's priority
 
- 
hashCodepublic int hashCode()
 
-