Package fr.formiko.kokcinelo.view
Class EndGameMenu
java.lang.Object
fr.formiko.kokcinelo.tools.KScreen
fr.formiko.kokcinelo.view.EndGameMenu
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
Menu for the end of the game
- Since:
- 0.1
- Version:
- 1.3
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEndGameMenu
(com.badlogic.gdx.graphics.g2d.SpriteBatch sb, int score, int maxScore, boolean haveWin) Create a new end game menu. -
Method Summary
Methods inherited from class fr.formiko.kokcinelo.tools.KScreen
displayPerf, getCloseButton, getDefautSkin, getDefautSkin, getFPSRacio, getRacio, getRacioHeight, getRacioWidth, needResize
-
Constructor Details
-
EndGameMenu
public EndGameMenu(com.badlogic.gdx.graphics.g2d.SpriteBatch sb, int score, int maxScore, boolean haveWin) Create a new end game menu.- Parameters:
sb
- Batch to use to drawscore
- score that player reachmaxScore
- score that player may have reachhaveWin
- true if player have win the game
-
-
Method Details
-
getStage
public com.badlogic.gdx.scenes.scene2d.Stage getStage() -
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-