Class LinkedBoolean

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

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

    • LinkedBoolean

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

    • set

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

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