Package com.mygdx.game
Class PirateGame
- java.lang.Object
-
- com.badlogic.gdx.Game
-
- com.mygdx.game.PirateGame
-
- All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener
public class PirateGame extends com.badlogic.gdx.Game
Contains class instances of game UI screens.
-
-
Field Summary
Fields Modifier and Type Field Description DifficultyScreen
difficulty
EndScreen
end
GameScreen
game
MenuScreen
menu
PauseScreen
pause
com.badlogic.gdx.scenes.scene2d.ui.Skin
skin
com.badlogic.gdx.scenes.scene2d.Stage
stage
-
Constructor Summary
Constructors Constructor Description PirateGame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create()
Create instances of game stage and UI screens.void
dispose()
Clean up to prevent memory leaks.
-
-
-
Field Detail
-
menu
public MenuScreen menu
-
game
public GameScreen game
-
end
public EndScreen end
-
pause
public PauseScreen pause
-
difficulty
public DifficultyScreen difficulty
-
stage
public com.badlogic.gdx.scenes.scene2d.Stage stage
-
skin
public com.badlogic.gdx.scenes.scene2d.ui.Skin skin
-
-