![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <HitPoint.hpp>
Public Member Functions | |
| HitPoint () | |
| HitPoint (const UInt16 ¤tValue, const UInt16 &ev, const UInt16 &iv) | |
| UInt16 | GetCurrentValue () const |
| void | SetCurrentValue (const UInt16 &value) |
| void | Restore () |
Public Member Functions inherited from yap::BaseStat | |
| BaseStat () | |
| Constructors. | |
| BaseStat (const UInt16 &ev, const UInt16 &iv) | |
| const UInt16 & | GetValue () const |
| Getters. | |
| const UInt16 & | GetIndividualValue () const |
| const UInt16 & | GetEffortValue () const |
| void | SetIndividualValue (const UInt16 &iv) |
| Setters. | |
| void | SetEffortValue (const UInt16 &ev) |
| void | AddValue (int value) |
| void | ComputeValue (const int &base, const UInt16 level) |
| void | ComputeValue (const int &base, const UInt16 level, const float &natureFactor) |
Private Attributes | |
| UInt16 | currentValue_ |
Static Private Attributes | |
| static const UInt16 | INITIAL_CURRENT_VALUE = 0 |
Additional Inherited Members | |
Protected Attributes inherited from yap::BaseStat | |
| UInt16 | value_ |
| UInt16 | individualValue_ |
| UInt16 | effortValue_ |
Definition at line 9 of file HitPoint.hpp.
| yap::HitPoint::HitPoint | ( | ) |
Definition at line 8 of file HitPoint.cpp.
Definition at line 13 of file HitPoint.cpp.
| UInt16 yap::HitPoint::GetCurrentValue | ( | ) | const |
| void yap::HitPoint::Restore | ( | ) |
| void yap::HitPoint::SetCurrentValue | ( | const UInt16 & | value | ) |
Definition at line 25 of file HitPoint.cpp.
|
private |
Definition at line 21 of file HitPoint.hpp.
|
staticprivate |
Definition at line 22 of file HitPoint.hpp.