Interface Updatable

All Known Subinterfaces:
Graphic2D, InputDevice, PolygonModel
All Known Implementing Classes:
AWTInput, Container, GDXInput, GDXModel, HeadlessRenderer, JFXInput, Primitive, SceneContext, Sprite, Stage, StateMachine, TeaInputDevice, Text, Timer, World3D
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.