Interface Updatable

All Known Subinterfaces:
InputDevice
All Known Implementing Classes:
Pointer, StateMachine, Timer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Updatable
Standardized interface for all objects that should be updated every frame during the animation loop.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(float deltaTime)
    Updates this object for the current frame.
  • Method Details

    • update

      void update(float deltaTime)
      Updates this object for the current frame. deltaTime indicates the elapsed time since the last frame update, in seconds.