Class Timer.Interval

java.lang.Object
dev.prozilla.pine.core.state.Timer.TimedAction
dev.prozilla.pine.core.state.Timer.Interval
All Implemented Interfaces:
Destructible, Updatable
Direct Known Subclasses:
Timer.RandomInterval
Enclosing class:
Timer

public static class Timer.Interval extends Timer.TimedAction
  • Constructor Details

    • Interval

      protected Interval(Timer timer, Callback callback, float delay, boolean applyTimeScale)
  • Method Details

    • update

      public void update(float deltaTime)
      Description copied from interface: Updatable
      Updates this object every frame.
      Specified by:
      update in interface Updatable
      Overrides:
      update in class Timer.TimedAction
      Parameters:
      deltaTime - Delta time in seconds
    • execute

      protected void execute()
      Overrides:
      execute in class Timer.TimedAction
    • destroy

      public void destroy()
      Description copied from interface: Destructible
      Destroys this object.