Class AttributeInstance.Bool
java.lang.Object
zombie.entity.components.attributes.AttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
zombie.entity.components.attributes.AttributeInstance.Bool
- Enclosing class:
AttributeInstance<C extends AttributeInstance<C,
T>, T extends AttributeType>
public static class AttributeInstance.Bool
extends AttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.entity.components.attributes.AttributeInstance
AttributeInstance.Bool, AttributeInstance.Byte, AttributeInstance.Double, AttributeInstance.Enum<E extends Enum<E> & IOEnum>, AttributeInstance.EnumSet<E extends Enum<E> & IOEnum>, AttributeInstance.EnumStringSet<E extends Enum<E> & IOEnum>, AttributeInstance.Float, AttributeInstance.Int, AttributeInstance.Long, AttributeInstance.Numeric<C extends AttributeInstance.Numeric<C,
T>, T extends AttributeType.Numeric<T, ?>>, AttributeInstance.Short, AttributeInstance.String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
boolean
getValue()
void
load
(ByteBuffer arg0) void
save
(ByteBuffer arg0) void
setValue
(boolean arg0) boolean
Methods inherited from class zombie.entity.components.attributes.AttributeInstance
getDisplayAsBarUnit, getFloatValue, getIntValue, getNameUI, getType, getValueType, isDisplayAsBar, isHiddenUI, isReadOnly, isRequiresValidation, toString
-
Constructor Details
-
Bool
public Bool()
-
-
Method Details
-
getValue
public boolean getValue() -
setValue
public void setValue(boolean arg0) -
stringValue
- Specified by:
stringValue
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-
setValueFromScriptString
- Specified by:
setValueFromScriptString
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-
equalTo
- Specified by:
equalTo
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-
copy
- Specified by:
copy
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-
save
- Specified by:
save
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-
load
- Specified by:
load
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-