Package net.citizensnpcs.api.ai
Interface GoalSelector
- All Known Implementing Classes:
- SimpleGoalController.SimpleGoalSelector
public interface GoalSelector
- 
Method SummaryModifier and TypeMethodDescriptionvoidfinish()Stops executing any currently runningGoals and allows other goals to be selected for execution.voidvoidReplaces the execution of any runningGoals with the specified goal.voidselectAdditional(Goal... goals) Adds the providedGoals to the execution list.
- 
Method Details- 
finishvoid finish()Stops executing any currently runningGoals and allows other goals to be selected for execution.
- 
finishAndRemovevoid finishAndRemove()
- 
selectReplaces the execution of any runningGoals with the specified goal.- Parameters:
- goal- The new goal for execution
 
- 
selectAdditionalAdds the providedGoals to the execution list. These goals will be executed along with any previously running goals.- Parameters:
- goals- The additional goals
 
 
-