Modifier and Type | Field and Description |
---|---|
private GameScreen |
RandomEvent.gameScreen |
private GameScreen |
PlayerSelectScreen.gameScreen |
private GameScreen |
GameEngine.gameScreen
The game's engine only ever runs while the main in-game interface is showing, so it was designed to manipulate
elements (both visual and logical in nature) on that screen
It therefore requires access to the public methods in the GameScreen class, so instantiation in this class
is a necessity
|
Modifier and Type | Method and Description |
---|---|
GameScreen |
GameEngine.getGameScreen() |
Modifier and Type | Method and Description |
---|---|
void |
AiPlayer.performPhase(GameEngine engine,
GameScreen screen)
Called by GameEngine to get the AI player's action, according to the current phase in the game engine
|
Constructor and Description |
---|
Earthquake(GameEngine engine,
GameScreen gameScreen) |
GameEngine(com.badlogic.gdx.Game game,
GameScreen gameScreen)
Constructs the game's engine.
|
Malfunction(GameEngine gameEngine,
GameScreen gameScreen,
int playerToAffect) |
RandomEvent(GameScreen gameScreen) |