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()booleanbooleangetValue()voidload(ByteBuffer arg0) voidsave(ByteBuffer arg0) voidsetValue(boolean arg0) booleanMethods 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:
stringValuein classAttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-
setValueFromScriptString
- Specified by:
setValueFromScriptStringin classAttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-
equalTo
- Specified by:
equalToin classAttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-
copy
- Specified by:
copyin classAttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-
save
- Specified by:
savein classAttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-
load
- Specified by:
loadin classAttributeInstance<AttributeInstance.Bool,AttributeType.Bool>
-