|
|
This class represents race data. There is quite a bit of data needed to represent the race and set the appropriate data, but once the data is set much of the data contained in this class will not be needed by a character.
Race (const int iRace, const int iGender=MALE)
| Race |
Race (const Race &iRace)
| Race |
~Race ()
| ~Race |
void setRace (const int nRace, const int nGender)
| setRace |
inline void setHealthPoint (int bodyArea, int value)
| setHealthPoint |
inline void setDefenseRating (int newDR)
| setDefenseRating |
inline string getRaceName ()
| getRaceName |
[const]
inline int getRaceType ()
| getRaceType |
[const]
inline string getGenderName ()
| getGenderName |
[const]
inline int getGenderType ()
| getGenderType |
[const]
inline int getHealthPoint (int bodyArea)
| getHealthPoint |
[const]
inline int getRacialHealthPointMaximum (int bodyArea)
| getRacialHealthPointMaximum |
[const]
inline int getAttributeBonus (int attribute)
| getAttributeBonus |
[const]
inline int getBaseDefenseRating ()
| getBaseDefenseRating |
[const]
inline int getDefenseRating ()
| getDefenseRating |
[const]
void init ()
| init |
[private]
string parseRace (const int iRace)
| parseRace |
[private]
string parseGender (const int iGender)
| parseGender |
[private]
const int hp[NUM_BODY] | hp[NUM_BODY] |
[private]
int attributeBonus[NUM_ATTRIBUTES] | attributeBonus[NUM_ATTRIBUTES] |
[private]
int workingHP[NUM_BODY] | workingHP[NUM_BODY] |
[private]
const int base_defense_rating | base_defense_rating |
[private]
int defense_rating | defense_rating |
[private]
int race | race |
[private]
int gender | gender |
[private]
string raceName | raceName |
[private]
string genderName | genderName |
[private]
dLoader * table | table |
[private]