Class FloodTimerDisplay

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

public class FloodTimerDisplay extends UIComponent
  • Constructor Details

  • Method Details

    • create

      public void create()
      Creates weather icon object for the display.
      Overrides:
      create in class UIComponent
    • update

      public void update()
      Description copied from class: Component
      Called once per frame of the game, and should be used for most component logic. Not called if component is disabled.
      Overrides:
      update in class Component
    • 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
    • draw

      public void draw(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      Draws to the terminal.
      Specified by:
      draw in class RenderComponent
      Parameters:
      batch - SpriteBatch batch