Class AItemEnhancement
java.lang.Object
de.rpgframework.genericrpg.data.DataItem
de.rpgframework.genericrpg.data.ComplexDataItem
de.rpgframework.genericrpg.items.AItemEnhancement
- All Implemented Interfaces:
ChoiceOrigin
-
Field Summary
FieldsFields inherited from class de.rpgframework.genericrpg.data.ComplexDataItem
choices, hasLevel, modifications, requires, userSelectableFlagsFields inherited from class de.rpgframework.genericrpg.data.DataItem
datasets, id, lang, languageAlternatives, logger, parentItem, parentSet -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.rpgframework.genericrpg.data.ComplexDataItem
addChoice, addOutgoingModifications, addUserSelectableFlag, getChoice, getChoice, getChoice, getChoiceName, getChoiceOptionString, getChoiceOptionStrings, getChoices, getHardcodedChoice, getModificationChoice, getOutgoingModifications, getRequirements, getUserSelectableFlags, getVariantName, hasLevel, hasUserSelectableFlag, resolveWithinItem, setHasLevel, validateMethods inherited from class de.rpgframework.genericrpg.data.DataItem
addLanguageAlternative, assignToDataSet, getAssignedDataSets, getDescription, getDescription, getFirstParent, getId, getLanguage, getLanguageAlternative, getLanguageAlternatives, getLocalizedString, getLocalizedString, getName, getName, getPageReferences, getResource, getShortName, getTypeString, hasLanguageAlternative, hasLicense, hasLicense, inDataSets, preferWithLocale, setId, setParentItem, toListPreferringLocale, toString
-
Field Details
-
size
@Attribute protected int size
-
-
Constructor Details
-
AItemEnhancement
public AItemEnhancement()
-
-
Method Details
-
getPrice
public int getPrice()- Returns:
- the price
-
setPrice
public void setPrice(int price) - Parameters:
price- the price to set
-
getSize
public int getSize()When creating an item how many item quality slots does the effect need.
-