Package heronarts.lx

Class LXEngine.Timer

java.lang.Object
heronarts.lx.LXEngine.Timer
All Implemented Interfaces:
LXLoopTask
Enclosing class:
LXEngine

public class LXEngine.Timer extends Object implements LXLoopTask
A task which runs after an elapsed amount of time, and potentially repeats
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancel any future processing of this timer
    void
    loop(double deltaMs)
     
    void
    Reset the timer state back to 0, so the full timeout period must again pass before execution

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isInterval

      public final boolean isInterval
  • Method Details

    • cancel

      public void cancel()
      Cancel any future processing of this timer
    • reset

      public void reset()
      Reset the timer state back to 0, so the full timeout period must again pass before execution
    • loop

      public void loop(double deltaMs)
      Specified by:
      loop in interface LXLoopTask