public interface ApplicationListener
extends com.badlogic.gdx.ApplicationListener
ApplicationListener
to add update and interpolate methods.
An ApplicationListener
is called when the Application
is created, resumed, rendering, paused or destroyed.
All methods are called in a thread that has the OpenGL context current. You can thus safely create and manipulate graphics
resources.Modifier and Type | Method and Description |
---|---|
void |
interpolate(float alpha)
Called when the
Application should interpolate itself. |
void |
update(float delta)
Called when the
Application should update itself. |