Class ScriptScheduleManager


  • public class ScriptScheduleManager
    extends Object
    • Constructor Detail

      • ScriptScheduleManager

        @Inject
        public ScriptScheduleManager​(org.rspeer.game.script.process.ScriptController controller,
                                     org.rspeer.game.script.loader.ScriptLoaderProvider provider,
                                     EventDispatcher dispatcher)
    • Method Detail

      • onTick

        public void onTick​(TickEvent event)
      • start

        public boolean start​(String savedScheduleName,
                             GameAccount account)
        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

        public boolean start​(ScriptSchedule schedule,
                             GameAccount account)
        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()