Class Attribute
- java.lang.Object
-
- me.bimmr.bimmcore.items.attributes.Attribute
-
public class Attribute extends java.lang.Object
Attribute Class
-
-
Constructor Summary
Constructors Constructor Description Attribute(AttributeType attribute, Slot slot, double value, Operation operation)
Create a new Attribute
-
Method Summary
Modifier and Type Method Description AttributeType
getAttribute()
Operation
getOperation()
Slot
getSlot()
double
getValue()
-
-
-
Constructor Detail
-
Attribute
public Attribute(AttributeType attribute, Slot slot, double value, Operation operation)
Create a new Attribute- Parameters:
attribute
- Attribute Typeslot
- Attribute Slotvalue
- Attribute Leveloperation
- Attribute Operation
-
-
Method Detail
-
getAttribute
public AttributeType getAttribute()
- Returns:
- Get Attribute type
-
getSlot
public Slot getSlot()
- Returns:
- Get Attribute slot
-
getOperation
public Operation getOperation()
- Returns:
- Get Attribute Operation
-
getValue
public double getValue()
- Returns:
- Get Attribute Level
-
-