Package net.citizensnpcs.api.ai
Class SimpleGoalController.SimpleGoalSelector
java.lang.Object
net.citizensnpcs.api.ai.SimpleGoalController.SimpleGoalSelector
- All Implemented Interfaces:
- GoalSelector
- Enclosing class:
- SimpleGoalController
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfinish()Stops executing any currently runningGoals and allows other goals to be selected for execution.voidCallsGoalSelector.finish()and removes theGoalfrom the list of possible goals to execute.voidReplaces the execution of any runningGoals with the specified goal.voidselectAdditional(Goal... goals) Adds the providedGoals to the execution list.
- 
Constructor Details- 
SimpleGoalSelectorpublic SimpleGoalSelector()
 
- 
- 
Method Details- 
finishpublic void finish()Description copied from interface:GoalSelectorStops executing any currently runningGoals and allows other goals to be selected for execution.- Specified by:
- finishin interface- GoalSelector
 
- 
finishAndRemovepublic void finishAndRemove()Description copied from interface:GoalSelectorCallsGoalSelector.finish()and removes theGoalfrom the list of possible goals to execute.- Specified by:
- finishAndRemovein interface- GoalSelector
 
- 
selectDescription copied from interface:GoalSelectorReplaces the execution of any runningGoals with the specified goal.- Specified by:
- selectin interface- GoalSelector
- Parameters:
- goal- The new goal for execution
 
- 
selectAdditionalDescription copied from interface:GoalSelectorAdds the providedGoals to the execution list. These goals will be executed along with any previously running goals.- Specified by:
- selectAdditionalin interface- GoalSelector
- Parameters:
- goals- The additional goals
 
 
-