Class LinkedBoolean
java.lang.Object
de.tomatengames.util.linked.LinkedBoolean
Represents a
boolean value that can be modified.- Since:
- 1.2
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LinkedBoolean
public LinkedBoolean(boolean initialValue) Creates a newLinkedBoolean.- 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.
-