Interface LoopingScript

  • All Superinterfaces:
    ORBScript

    public interface LoopingScript
    extends ORBScript
    The interface Looping script.
    • Method Detail

      • loop

        int loop()
        Execute the Loop - Implement logic to validate conditions and process actions within the game. Most often done by using an Enum to define the state.
        Returns:
        the length of delay before next loop.
        See Also:
        "Return a positive integer to delay in ms, and a negative integer to delay in game ticks."