Go method scheduler. By default schedules the method to start at tick 1, and to repeat every tick.
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 |
double |
interval() Specifies the interval. |
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 1d |
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 interval. If > 0, then the method is scheduled to repeat at the specified interval. Otherwise, method is scheduled for one time execution. Default is 0 meaning by default the method will only execute once. @default 1d
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 1d