Setup method scheduler. By default schedules the method to run at tick 0.
Can optionally set different values for the following members (default values in parentheses):
Type Params | Return Type | Name and description |
---|---|---|
null |
double |
duration() How many ticks the action can execute in the background while the tick count progresses. |
null |
long |
pick() Specifies the number of objects that implement to this method to schedule this method on. |
null |
double |
priority() Priority w/r to other actions scheduled for the same tick. |
null |
boolean |
shuffle() Whether or not to randomize the scheduling of collections of agent methods, if more than one agent is being scheduled by this annonation. |
null |
double |
start() Specifies the start time @default 0d |
How many ticks the action can execute in the background while the tick count progresses. Default is no duration meaning the method must finish execution before the next scheduled action can execute. @default 0d
Specifies the number of objects that implement to this method to schedule this method on. The objects will be drawn randomly from a Context. Default is to schedule all instances. @default 0l
Priority w/r to other actions scheduled for the same tick. Default is ScheduleParameters.RANDOM_PRIORITY. @default 0d
Whether or not to randomize the scheduling of collections of agent methods, if more than one agent is being scheduled by this annonation. @default true
Specifies the start time @default 0d