Class BasketHoverComponent

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

public class BasketHoverComponent extends StationHoverComponent
A component used to display interaction key tooltips for a basket station component.
  • Constructor Details

    • BasketHoverComponent

      public BasketHoverComponent()
  • Method Details

    • drawToolTips

      public void drawToolTips(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      Draws the required key tooltips for the current interactions that can be done on this station.
      Specified by:
      drawToolTips in class StationHoverComponent
      Parameters:
      batch - The SpriteBatch used for drawing
    • 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.
      Overrides:
      draw in class StationHoverComponent
      Parameters:
      batch - Batch to render to.