public class GameplayScreen extends WEScreen
Constructor and Description |
---|
GameplayScreen(Controller controller,
GameView view,
LoadingScreen loadingScreen)
Create the gameplay state.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Controller |
getController() |
MapEditorController |
getEditorController()
lazy init
|
MapEditorView |
getEditorView()
lazy init
|
GameView |
getView() |
void |
hide() |
void |
pause() |
void |
renderImpl(float dt) |
void |
resize(int width,
int height) |
void |
resume() |
void |
setController(Controller controller) |
void |
setView(GameView view) |
void |
show() |
public GameplayScreen(Controller controller, GameView view, LoadingScreen loadingScreen)
controller
- The controller of this screen.view
- The user view of this screen.loadingScreen
- public GameView getView()
public Controller getController()
public void setView(GameView view)
view
- public void setController(Controller controller)
controller
- public void renderImpl(float dt)
renderImpl
in class WEScreen
dt
- time in mspublic void resize(int width, int height)
public void show()
public void hide()
public void pause()
public void resume()
public void dispose()
public MapEditorController getEditorController()
public MapEditorView getEditorView()