Class ScriptScheduleManager

java.lang.Object
org.rspeer.game.script.scheduler.ScriptScheduleManager

public class ScriptScheduleManager extends Object
  • 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

      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()