Interface GoalEvent
- All Superinterfaces:
Cancellable, Event
- All Known Subinterfaces:
GoalEvent.Add, GoalEvent.Remove
- All Known Implementing Classes:
AbstractGoalEvent
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Methods inherited from interface Cancellable
isCancelled, setCancelled
-
Method Details
-
agent
-
goal
GoalExecutor<? extends Agent> goal()Gets theGoalExecutorthe task will be assigned to.- Returns:
- The goal
-
task
-
priority
int priority()Gets the priority the task will be assigned to. Lower numbers mean higher priority.- Returns:
- The priority
-