This is a method function for
ScheduleForActor
annotation. It will resolve an
ScheduleForActorMethod
to be used by the entity typing system. This will resolve the zero
argument constructor for the
Action
.
@ScheduleForAction(action = Haunt.class)
ActionContext<Entity>
scheduleHaunting();
@ScheduleForAction(action = Haunt.class)
void scheduleHaunting();
@ScheduleForAction(action = Haunt.class, initialDelay = 50, unit = TimeUnit.MILLISECONDS)
ActionContext<Entity>
scheduleHaunting();
@ScheduleForAction(action = Haunt.class, initialDelay = 50, unit = TimeUnit.MILLISECONDS)
void scheduleHaunting();
@ScheduleForAction(action = Haunt.class, initialDelay = 50, period = 200, unit = TimeUnit.MILLISECONDS)
ActionContext<Entity>
scheduleHaunting();
@ScheduleForAction(action = Haunt.class, initialDelay = 50, period = 200, unit = TimeUnit.MILLISECONDS)
void scheduleHaunting();
NOTE: This function will throw exceptions if
ScheduleForActor
is present but the method
signature is invalid.