com.badlogic.gdx
Interface Screen

All Known Implementing Classes:
ScreenAdapter

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.

See Also:
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

render

void render(float delta)
Called when the screen should render itself.

Parameters:
delta - The time in seconds since the last render.

resize

void resize(int width,
            int height)
See Also:
ApplicationListener.resize(int, int)

show

void show()
Called when this screen becomes the current screen for a Game.


hide

void hide()
Called when this screen is no longer the current screen for a Game.


pause

void pause()
See Also:
ApplicationListener.pause()

resume

void resume()
See Also:
ApplicationListener.resume()

dispose

void dispose()
Called when this screen should release all resources.



Copyright © 2013. All Rights Reserved.