Class Script

  • All Implemented Interfaces:
    Paintable

    public abstract class Script
    extends java.lang.Object
    implements Paintable
    • Constructor Detail

      • Script

        public Script()
    • Method Detail

      • onStart

        public boolean onStart()
        Called when the script starts. Override for custom behavior.
      • onStop

        public void onStop()
        Called when the script stops. Override for custom behavior.
      • loadConfig

        public boolean loadConfig()
        Loads the script's configuration.
      • onBreak

        public boolean onBreak()
      • getConfigFile

        public final java.io.File getConfigFile()
      • getStorageDirectory

        public final java.io.File getStorageDirectory()
      • onProcess

        public abstract int onProcess()
      • isRunning

        public boolean isRunning()
      • isPaused

        public boolean isPaused()
      • isStopped

        public boolean isStopped()
      • isOnBreak

        public boolean isOnBreak()