Class Usage
java.lang.Object
de.rpgframework.genericrpg.items.Usage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMode()Returns the declaration like it appears in the XML definition.floatgetSize()Shortcut forgetFormula().getAsFloat()<H extends Hook>
HgetSlot()getType()Returns an uninterpreted type attributevoidsetFormula(Formula value) voidsetRawValue(String val) <H extends Hook>
voidsetSlot(H slot) toString()
-
Constructor Details
-
Usage
public Usage() -
Usage
-
Usage
-
-
Method Details
-
toString
-
getMode
- Returns:
- the mode
-
getSlot
- Returns:
- the slot
-
getFormula
-
setFormula
-
getRawValue
Returns the declaration like it appears in the XML definition. Use this method, if the value contains variables/formulas -
setRawValue
-
getSize
public float getSize()Shortcut forgetFormula().getAsFloat() -
getType
-
setSlot
-