public class GdxGameAppListener extends Object implements com.badlogic.gdx.ApplicationListener, GameLooper
| Constructor and Description |
|---|
GdxGameAppListener(Class<? extends GameApp> gameAppType) |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
void |
dispose() |
float |
getRenderInterpolation() |
float |
getUpdateDelta() |
int |
getUpdateFrequency() |
void |
pause() |
void |
render() |
void |
resize(int width,
int height) |
void |
resume() |
void |
setTiming(int updatesPerSecond,
float maxFrameTimeSeconds) |
public void create()
create in interface com.badlogic.gdx.ApplicationListenerpublic void resize(int width,
int height)
resize in interface com.badlogic.gdx.ApplicationListenerpublic void render()
render in interface com.badlogic.gdx.ApplicationListenerpublic void pause()
pause in interface com.badlogic.gdx.ApplicationListenerpublic void resume()
resume in interface com.badlogic.gdx.ApplicationListenerpublic void dispose()
dispose in interface com.badlogic.gdx.ApplicationListenerpublic void setTiming(int updatesPerSecond,
float maxFrameTimeSeconds)
setTiming in interface GameLooperpublic int getUpdateFrequency()
getUpdateFrequency in interface GameLooperpublic float getUpdateDelta()
getUpdateDelta in interface GameLooperpublic float getRenderInterpolation()
getRenderInterpolation in interface GameLooperCopyright © 2022. All rights reserved.