ScummVM API documentation
Ultima::Ultima1::Character Class Reference

#include <party.h>

Inheritance diagram for Ultima::Ultima1::Character:
Ultima::Shared::Character

Public Member Functions

 Character (Ultima1Game *game)
 
void setup ()
 
WeaponequippedWeapon () const
 
ArmourequippedArmour () const
 
Spells::SpellequippedSpell () const
 
- Public Member Functions inherited from Ultima::Shared::Character
 Character ()
 
void synchronize (Common::Serializer &s)
 
bool isWeaponEquipped () const
 
bool isArmourEquipped () const
 
bool isSpellEquipped () const
 
WeaponequippedWeapon () const
 
ArmourequippedArmour () const
 
SpellequippedSpell () 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
 

Detailed Description

Implements the data for a playable character within the game

Constructor & Destructor Documentation

◆ Character()

Ultima::Ultima1::Character::Character ( Ultima1Game game)

Constructor

Member Function Documentation

◆ setup()

void Ultima::Ultima1::Character::setup ( )

Setup the party

◆ equippedWeapon()

Weapon* Ultima::Ultima1::Character::equippedWeapon ( ) const
inline

Return the equipped weapon

◆ equippedArmour()

Armour* Ultima::Ultima1::Character::equippedArmour ( ) const
inline

Return the equipped armor

◆ equippedSpell()

Spells::Spell* Ultima::Ultima1::Character::equippedSpell ( ) const
inline

Return the equipped spell


The documentation for this class was generated from the following file: