Class ScriptScheduleManager
java.lang.Object
org.rspeer.game.script.scheduler.ScriptScheduleManager
-
Constructor Summary
ConstructorsConstructorDescriptionScriptScheduleManager(org.rspeer.game.script.process.ScriptController controller, org.rspeer.game.script.loader.ScriptLoaderProvider provider, org.rspeer.event.EventDispatcher dispatcher) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidreset()booleanstart(String savedScheduleName, GameAccount account) This method must only be called when a script is not running.booleanstart(ScriptSchedule schedule, GameAccount account) This method must only be called when a script is not running.
-
Constructor Details
-
ScriptScheduleManager
@Inject public ScriptScheduleManager(org.rspeer.game.script.process.ScriptController controller, org.rspeer.game.script.loader.ScriptLoaderProvider provider, org.rspeer.event.EventDispatcher dispatcher)
-
-
Method Details
-
onTick
-
start
This method must only be called when a script is not running. If you intend to call it in a script, stop that script and schedule this function call. -
start
This method must only be called when a script is not running. If you intend to call it in a script, stop that script and schedule this function call. -
onTransitionScriptStop
public void onTransitionScriptStop() -
reset
public void reset()
-