#include <party.h>
Public Member Functions | |
| Character (Ultima1Game *game) | |
| void | setup () |
| Weapon * | equippedWeapon () const |
| Armour * | equippedArmour () const |
| Spells::Spell * | equippedSpell () const |
Public Member Functions inherited from Ultima::Shared::Character | |
| Character () | |
| void | synchronize (Common::Serializer &s) |
| bool | isWeaponEquipped () const |
| bool | isArmourEquipped () const |
| bool | isSpellEquipped () const |
| Weapon * | equippedWeapon () const |
| Armour * | equippedArmour () const |
| Spell * | equippedSpell () const |
| void | removeWeapon () |
| void | removeArmour () |
| void | removeSpell () |
| uint | getLevel () const |
Additional Inherited Members | |
Public Attributes inherited from Ultima::Shared::Character | |
| Common::String | _name |
| uint | _race |
| Sex | _sex |
| uint | _class |
| uint | _strength |
| uint | _agility |
| uint | _stamina |
| uint | _charisma |
| uint | _wisdom |
| uint | _intelligence |
| uint | _hitPoints |
| uint | _experience |
| uint | _food |
| uint | _coins |
| int | _equippedWeapon |
| int | _equippedArmour |
| int | _equippedSpell |
| ItemArray< Weapon * > | _weapons |
| ItemArray< Armour * > | _armour |
| ItemArray< Spell * > | _spells |
Implements the data for a playable character within the game
| Ultima::Ultima1::Character::Character | ( | Ultima1Game * | game | ) |
Constructor
| void Ultima::Ultima1::Character::setup | ( | ) |
Setup the party
|
inline |
Return the equipped weapon
|
inline |
Return the equipped armor
|
inline |
Return the equipped spell