Interface Updatable

  • All Known Implementing Classes:
    TimeOutEnding

    public interface Updatable
    A periodically updatable object. The updatable handler simply takes care of regularly (at a chosen pace) calling the update(long) method on their encapsulated updatables.
    See Also:
    UpdatableHandler
    • Method Summary

      Modifier and Type Method Description
      default void pause()
      Pause the updatable Empty by default.
      void update​(long deltaMillis)
      Perform a periodic action
    • Method Detail

      • update

        void update​(long deltaMillis)
        Perform a periodic action
        Parameters:
        deltaMillis - how many milliseconds went by since the last update call
      • pause

        default void pause()
        Pause the updatable Empty by default.