Interface Goals
-
Method Summary
Modifier and TypeMethodDescriptionactive()voidAdds a goal and re-sorts the container by priority.all()voidclear()Drops every goal, stopping the active one first.booleanbooleandefault booleanremoveType(Class<? extends Goal> type) running()voidstopAll()Stops every running goal without removing anything.
-
Method Details
-
add
Adds a goal and re-sorts the container by priority.- Parameters:
goal- the goal to add- Since:
- 0.1.0
-
remove
- Parameters:
goal- the goal to drop- Returns:
trueif the goal was present- Since:
- 0.1.0
-
removeIf
-
removeType
-
clear
void clear()Drops every goal, stopping the active one first.- Since:
- 0.1.0
-
all
-
active
-
running
-
stopAll
void stopAll()Stops every running goal without removing anything.- Since:
- 0.1.0
-