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 -
Field Summary
Fields inherited from class zombie.entity.components.attributes.AttributeInstance
type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalTo
(AttributeInstance.Bool bool0) boolean
getValue()
void
load
(ByteBuffer byteBuffer) protected void
release()
void
save
(ByteBuffer byteBuffer) protected void
setType
(AttributeType.Bool bool0) void
setValue
(boolean boolean0) boolean
setValueFromScriptString
(String string) Methods inherited from class zombie.entity.components.attributes.AttributeInstance
canSetValue, getDisplayAsBarUnit, getFloatValue, getIntValue, getNameUI, getType, getValueType, isDisplayAsBar, isHiddenUI, isReadOnly, isRequiresValidation, reset, toString
-
Constructor Details
-
Bool
public Bool()
-
-
Method Details
-
setType
- Specified by:
setType
in classAttributeInstance<AttributeInstance.Bool,
AttributeType.Bool>
-
getValue
public boolean getValue() -
setValue
public void setValue(boolean boolean0) -
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>
-
release
protected void release()- Specified by:
release
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>
-