Class LinkedFloat

java.lang.Object
de.tomatengames.util.linked.LinkedFloat

public final class LinkedFloat extends Object
Represents a float value that can be modified.
Since:
1.2
  • Constructor Details

    • LinkedFloat

      public LinkedFloat(float initialValue)
      Creates a new LinkedFloat.
      Parameters:
      initialValue - The initial value of this object.
  • Method Details

    • set

      public final void set(float value)
      Sets the value of this object.
      Parameters:
      value - The new value.
    • get

      public final float get()
      Returns the value of this object.
      Returns:
      The value.