Class StatDisplay

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, Renderable, Comparable<Renderable>

public class StatDisplay extends UIComponent
Display detailed stats after defeating the final boss of the game.
  • Constructor Details

    • StatDisplay

      public StatDisplay(GdxGame game)
  • Method Details

    • create

      public void create()
      Creates and populates the UI with UI elements.
      Overrides:
      create in class UIComponent
    • draw

      public void draw(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      Description copied from class: RenderComponent
      Draw the renderable. Should be called only by the renderer, not manually.
      Specified by:
      draw in class RenderComponent
      Parameters:
      batch - Batch to render to.
    • dispose

      public void dispose()
      Clear the UI elements on the display
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
      Overrides:
      dispose in class RenderComponent