Class ASkillValue<S extends ISkill>
java.lang.Object
de.rpgframework.genericrpg.modification.ModifyableImpl
de.rpgframework.genericrpg.data.DataItemValue<S>
de.rpgframework.genericrpg.data.ComplexDataItemValue<S>
de.rpgframework.genericrpg.data.ASkillValue<S>
- All Implemented Interfaces:
DecisionContainer,ResolvableDataItem<S>,Modifyable,ModifyableNumericalValue<S>,NumericalValue<S>,SelectedValue<S>
public abstract class ASkillValue<S extends ISkill>
extends ComplexDataItemValue<S>
implements ModifyableNumericalValue<S>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SkillSpecializationValue<S>> protected intThe final value of the attribute after generation, before exp have been spent.Fields inherited from class de.rpgframework.genericrpg.data.ComplexDataItemValue
autoFlags, decisions, flags, uuidFields inherited from class de.rpgframework.genericrpg.data.DataItemValue
character, customName, injectedBy, language, ref, resolved, valueFields inherited from class de.rpgframework.genericrpg.modification.ModifyableImpl
incomingModifications, outgoingModifications -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintShortcut to getModifiedValue(NATURAL, AUGMENTED)intgetModifiedValue(ValueType... typeArray) intgetModifier(ValueType... typeArray) getPool()intgetStart()voidvoidsetStart(int start) Methods inherited from class de.rpgframework.genericrpg.data.ComplexDataItemValue
addAutoFlag, addAutoFlag, addDecision, addFlag, clearAutoFlags, clearEmptyFlags, getAutoFlags, getChoiceMapRecursivly, getDecision, getDecisionArray, getDecisionByRef, getDecisionByType, getDecisions, getDecisionString, getDecisionString, getFlags, getNameWithoutRating, getNameWithoutRating, getNameWithRating, getPerDecisionString, getUuid, hasAutoFlag, hasFlag, hasFlag, hasUserFlag, removeAutoFlag, removeDecision, removeDecision, removeFlag, reset, setAutoFlag, setAutoFlag, setFlag, setUuid, updateDecision, updateOutgoingModificiationsMethods inherited from class de.rpgframework.genericrpg.data.DataItemValue
getCharacter, getCustomName, getDistributed, getInjectedBy, getKey, getLanguage, getModifyable, getNameWithoutDecisions, getNameWithRating, getResolved, getShortName, isAutoAdded, setCharacter, setCustomName, setDistributed, setInjectedBy, setLanguage, setResolvedMethods inherited from class de.rpgframework.genericrpg.modification.ModifyableImpl
addIncomingModification, addModifications, addOutgoingModification, clearIncomingModifications, clearOutgoingModifications, getIncomingModifications, getOutgoingModifications, removeIncomingModification, removeIncomingModificationForSource, removeIncomingModifications, setIncomingModificationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.rpgframework.genericrpg.modification.Modifyable
addIncomingModification, getIncomingModifications, removeIncomingModification, setIncomingModificationsMethods inherited from interface de.rpgframework.genericrpg.ModifyableNumericalValue
getModifierMethods inherited from interface de.rpgframework.genericrpg.NumericalValue
getDistributed, setDistributedMethods inherited from interface de.rpgframework.genericrpg.SelectedValue
getModifyable
-
Field Details
-
start
@Attribute(name="start", required=false) protected int startThe final value of the attribute after generation, before exp have been spent. During priority generation this contains the value until which the attribute is paid by attribute points -
specializations
@ElementList(entry="skillspec", type=SkillSpecializationValue.class, inline=true) protected List<SkillSpecializationValue<S extends ISkill>> specializations
-
-
Constructor Details
-
ASkillValue
public ASkillValue() -
ASkillValue
-
ASkillValue
-
-
Method Details
-
getModifier
- Specified by:
getModifierin interfaceModifyableNumericalValue<S extends ISkill>- See Also:
-
getModifiedValue
public int getModifiedValue()Description copied from interface:ModifyableNumericalValueShortcut to getModifiedValue(NATURAL, AUGMENTED)- Specified by:
getModifiedValuein interfaceModifyableNumericalValue<S extends ISkill>- Returns:
- See Also:
-
getModifiedValue
- Specified by:
getModifiedValuein interfaceModifyableNumericalValue<S extends ISkill>- See Also:
-
getStart
public int getStart()- Returns:
- the start
-
setStart
public void setStart(int start) - Parameters:
start- the start to set
-
getSpecializations
-
getSpecialization
-
getPool
- Specified by:
getPoolin interfaceModifyableNumericalValue<S extends ISkill>- Overrides:
getPoolin classComplexDataItemValue<S extends ISkill>- Returns:
- the pool
- See Also:
-
setPool
-