Class AttributeType
java.lang.Object
zombie.entity.components.attributes.AttributeType
- Direct Known Subclasses:
AttributeType.Bool
,AttributeType.Enum
,AttributeType.EnumSet
,AttributeType.EnumStringSet
,AttributeType.Numeric
,AttributeType.String
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
AttributeType.Enum<E extends Enum<E> & IOEnum>
static class
AttributeType.EnumSet<E extends Enum<E> & IOEnum>
static class
AttributeType.EnumStringSet<E extends Enum<E> & IOEnum>
static class
static class
static class
static class
AttributeType.Numeric<C extends AttributeType.Numeric<C,
T>, T extends Number> static class
static class
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttributeType
(short short0, String string0, boolean boolean0, Attribute.UI.Display display, String string1) protected
AttributeType
(short short0, String string0, boolean boolean0, Attribute.UI.Display display, Attribute.UI.DisplayAsBar displayAsBar, String string1) -
Method Summary
Modifier and TypeMethodDescriptionprotected Attribute.UI.DisplayAsBar
getName()
abstract AttributeValueType
short
id()
boolean
boolean
boolean
boolean
toString()
-
Constructor Details
-
AttributeType
protected AttributeType(short short0, String string0, boolean boolean0, Attribute.UI.Display display, String string1) -
AttributeType
protected AttributeType(short short0, String string0, boolean boolean0, Attribute.UI.Display display, Attribute.UI.DisplayAsBar displayAsBar, String string1)
-
-
Method Details
-
id
public short id() -
isReadOnly
public boolean isReadOnly() -
toString
-
getName
-
getValueType
-
isNumeric
public boolean isNumeric() -
isDecimal
public boolean isDecimal() -
isHiddenUI
public boolean isHiddenUI() -
getDisplayAsBar
-
getTranslateKey
-
getNameUI
-