Class EndGameMenu

java.lang.Object
fr.formiko.kokcinelo.tools.KScreen
fr.formiko.kokcinelo.view.EndGameMenu
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class EndGameMenu extends KScreen implements com.badlogic.gdx.utils.Disposable
Menu for the end of the game
Since:
0.1
Version:
1.3
  • 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 draw
      score - score that player reach
      maxScore - score that player may have reach
      haveWin - 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 interface com.badlogic.gdx.utils.Disposable