OpenMW
|
#include <stat.hpp>
Public Member Functions | |
SkillValue () | |
float | getProgress () const |
void | setProgress (float progress) |
void | writeState (ESM::StatState< int > &state) const |
void | readState (const ESM::StatState< int > &state) |
Public Member Functions inherited from MWMechanics::AttributeValue | |
AttributeValue () | |
int | getModified () const |
int | getBase () const |
int | getModifier () const |
void | setBase (int base) |
void | setModifier (int mod) |
void | damage (float damage) |
void | restore (float amount) |
float | getDamage () const |
void | writeState (ESM::StatState< int > &state) const |
void | readState (const ESM::StatState< int > &state) |
Private Attributes | |
float | mProgress |
MWMechanics::SkillValue::SkillValue | ( | ) |
float MWMechanics::SkillValue::getProgress | ( | ) | const |
void MWMechanics::SkillValue::readState | ( | const ESM::StatState< int > & | state | ) |
void MWMechanics::SkillValue::setProgress | ( | float | progress | ) |
void MWMechanics::SkillValue::writeState | ( | ESM::StatState< int > & | state | ) | const |
|
private |