public class GameplayScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Constructor and Description |
---|
GameplayScreen(Controller controller,
View view,
Configuration config)
Create the gameplay state.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Configuration |
getConfig() |
Controller |
getController() |
MapEditorController |
getEditorController()
lazy init
|
MapEditorView |
getEditorView()
lazy init
|
View |
getView() |
void |
hide() |
static MsgSystem |
msgSystem()
Returns the Message System.
|
void |
pause() |
void |
render(float delta) |
void |
resize(int width,
int height) |
void |
resume() |
void |
setController(Controller controller) |
void |
setView(View view) |
void |
show() |
public GameplayScreen(Controller controller, View view, Configuration config)
controller
- The controller of this screen.view
- The user view of this screen.config
- The configuration of the game show in this screen.public static MsgSystem msgSystem()
public View getView()
public Controller getController()
public void setView(View view)
view
- public void setController(Controller controller)
controller
- public void render(float delta)
render
in interface com.badlogic.gdx.Screen
public void resize(int width, int height)
resize
in interface com.badlogic.gdx.Screen
public void show()
show
in interface com.badlogic.gdx.Screen
public void hide()
hide
in interface com.badlogic.gdx.Screen
public void pause()
pause
in interface com.badlogic.gdx.Screen
public void resume()
resume
in interface com.badlogic.gdx.Screen
public void dispose()
dispose
in interface com.badlogic.gdx.Screen
public Configuration getConfig()
public MapEditorController getEditorController()
public MapEditorView getEditorView()