Class Animator

  • All Implemented Interfaces:
    java.lang.Runnable

    public class Animator
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Detail

      • stop

        protected boolean stop
      • thread

        protected java.lang.Thread thread
      • sleepTime

        protected long sleepTime
        how long the relaxer thread pauses between iteration loops.
    • Method Detail

      • getSleepTime

        public long getSleepTime()
        Returns:
        the relaxer thread sleep time
      • setSleepTime

        public void setSleepTime​(long sleepTime)
        Parameters:
        sleepTime - the relaxer thread sleep time to set
      • start

        public void start()
      • stop

        public void stop()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable