- All Known Subinterfaces:
- All Known Implementing Classes:
- 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 IUpdateable
The functional interface
IUpdateableprovides the functionality to automatically update the instance from a loop that it is attached to.
This should be used for code that needs to be executed on every tick/frame.
Modifier and Type Method Description
update()This method is called by the game loop on all objects that are attached to the loop.
updatevoid update()This method is called by the game loop on all objects that are attached to the loop. It's called on every tick of the loop and the frequency can be configured using the
- See Also: