public class GameScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen
Modifier and Type | Field and Description |
---|---|
static CoreGame |
game |
static MapInputProcessor |
mapInput |
static Game_Map_Manager |
mapManager |
static com.badlogic.gdx.graphics.g2d.SpriteBatch |
sb |
Constructor and Description |
---|
GameScreen() |
Modifier and Type | Method and Description |
---|---|
static void |
create() |
static void |
createCoreGame(Station p1Station,
Station p2Station) |
void |
dispose() |
static org.json.simple.JSONObject |
getJSONData() |
static com.badlogic.gdx.scenes.scene2d.Stage |
getMapStage() |
static com.badlogic.gdx.graphics.glutils.ShapeRenderer |
getRend() |
static com.badlogic.gdx.scenes.scene2d.Stage |
getStage() |
void |
hide() |
void |
pause() |
void |
render(float delta) |
void |
resetScreen()
Reset Screen - Sets all the boolean to start values and clears actors and resets the map.
|
static void |
resetStage() |
void |
resize(int width,
int height) |
void |
resume() |
static void |
setStage(com.badlogic.gdx.scenes.scene2d.Stage stage) |
void |
show() |
public static CoreGame game
public static com.badlogic.gdx.graphics.g2d.SpriteBatch sb
public static Game_Map_Manager mapManager
public static MapInputProcessor mapInput
public static void create()
public static org.json.simple.JSONObject getJSONData()
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 static void resetStage()
public void dispose()
dispose
in interface com.badlogic.gdx.Screen
public static com.badlogic.gdx.scenes.scene2d.Stage getStage()
public static com.badlogic.gdx.scenes.scene2d.Stage getMapStage()
public static com.badlogic.gdx.graphics.glutils.ShapeRenderer getRend()
public static void setStage(com.badlogic.gdx.scenes.scene2d.Stage stage)
public void resetScreen()