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.GameContains class instances of game UI screens.
-
-
Field Summary
Fields Modifier and Type Field Description EndScreenendGameScreengameMenuScreenmenuPowerupScreenpowerupQuitConfirmationScreenquitConfirmShopScreenshopcom.badlogic.gdx.scenes.scene2d.ui.Skinskincom.badlogic.gdx.scenes.scene2d.Stagestage
-
Constructor Summary
Constructors Constructor Description PirateGame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate()Create instances of game stage and UI screens.voiddispose()Clean up prevent memory leeks
-
-
-
Field Detail
-
menu
public MenuScreen menu
-
game
public GameScreen game
-
end
public EndScreen end
-
stage
public com.badlogic.gdx.scenes.scene2d.Stage stage
-
skin
public com.badlogic.gdx.scenes.scene2d.ui.Skin skin
-
shop
public ShopScreen shop
-
powerup
public PowerupScreen powerup
-
quitConfirm
public QuitConfirmationScreen quitConfirm
-
-