|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Screen
Represents one of many application screens, such as a main menu, a settings menu, the game screen and so on.
Note that dispose()
is not called automatically.
Game
Method Summary | |
---|---|
void |
dispose()
Called when this screen should release all resources. |
void |
hide()
Called when this screen is no longer the current screen for a Game . |
void |
pause()
|
void |
render(float delta)
Called when the screen should render itself. |
void |
resize(int width,
int height)
|
void |
resume()
|
void |
show()
Called when this screen becomes the current screen for a Game . |
Method Detail |
---|
void render(float delta)
delta
- The time in seconds since the last render.void resize(int width, int height)
ApplicationListener.resize(int, int)
void show()
Game
.
void hide()
Game
.
void pause()
ApplicationListener.pause()
void resume()
ApplicationListener.resume()
void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |