Class QuickBarDisplay

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

public class QuickBarDisplay extends UIComponent
  • Constructor Details

    • QuickBarDisplay

      public QuickBarDisplay()
  • Method Details

    • create

      public void create()
      Creates reusable ui styles and adds actors to the stage.
      Overrides:
      create in class UIComponent
    • draw

      public void draw(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      Draw the quick bar by default UI behavior
      Specified by:
      draw in class RenderComponent
      Parameters:
      batch - Batch to render to. //Intentionally blank method
    • updatePotionTable

      public static void updatePotionTable()
    • dispose

      public void dispose()
      Description copied from class: Component
      Called when the component is disposed. Dispose of any internal resources here.
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
      Overrides:
      dispose in class RenderComponent