Class AttributeType.Numeric<C extends AttributeType.Numeric<C,T>,T extends Number>

java.lang.Object
zombie.entity.components.attributes.AttributeType
zombie.entity.components.attributes.AttributeType.Numeric<C,T>
Direct Known Subclasses:
AttributeType.Byte, AttributeType.Double, AttributeType.Float, AttributeType.Int, AttributeType.Long, AttributeType.Short
Enclosing class:
AttributeType

public abstract static class AttributeType.Numeric<C extends AttributeType.Numeric<C,T>,T extends Number> extends AttributeType
  • Method Details

    • getValueType

      public AttributeValueType getValueType()
      Specified by:
      getValueType in class AttributeType
    • getInitialValue

      public T getInitialValue()
    • hasBounds

      public boolean hasBounds()
    • validate

      public abstract T validate(T var1)
    • getMin

      public abstract T getMin()
    • getMax

      public abstract T getMax()