Package zombie.ui

Class VehicleGauge

java.lang.Object
zombie.ui.UIElement
zombie.ui.VehicleGauge

public class VehicleGauge
extends UIElement
  • Field Details

    • needleX

      protected int needleX
    • needleY

      protected int needleY
    • minAngle

      protected float minAngle
    • maxAngle

      protected float maxAngle
    • value

      protected float value
    • texture

      protected Texture texture
    • needleWidth

      protected int needleWidth
  • Constructor Details

    • VehicleGauge

      public VehicleGauge​(Texture texture, int int1, int int2, float float1, float float2)
  • Method Details

    • setNeedleWidth

      public void setNeedleWidth​(int int1)
    • render

      public void render()
      Overrides:
      render in class UIElement
    • setValue

      public void setValue​(float float1)
    • setTexture

      public void setTexture​(Texture texture)