ActionAdventureKit 1.7.3
|
base class for stats, stats are metrics that do not have a value themselfes
instead they are calculated using a base value and then incorporating attributes and modifiers
for example a defense stat that has a base value and increases with the characters strength attribute and armor equipment
how the final value is calculated is defined in the concrete implementations, modifiers are applied afterwards
Public Member Functions | |
int | GetValue (AttributePool attributePool, int baseValue) |
calculate the stat value | |
IEnumerable< AttributeType > | GetContributors () |
retrieves the attributes that contribute to the stats calculation | |
Public Attributes | |
string | Name |
Sprite | Image |
|
abstract |
retrieves the attributes that contribute to the stats calculation
|
abstract |
calculate the stat value
attributePool | the pool from which attribute values needed for the calculation can be retrieved |
baseValue | the base value before the calculation |