#include <party.h>
Public Member Functions | |
| void | add (Character *c) |
| operator Character & () const | |
| operator Character * () const | |
| void | synchronize (Common::Serializer &s) |
| bool | isDead () const |
| bool | isFoodless () const |
Protected Attributes | |
| Common::Array< Character * > | _characters |
Base class for the player's party
| void Ultima::Shared::Party::add | ( | Character * | c | ) |
Add a character to the party
|
inline |
Casting operator for convenient access to the first character
|
inline |
Casting operator for convenient access to the first character
| void Ultima::Shared::Party::synchronize | ( | Common::Serializer & | s | ) |
Synchronize data
| bool Ultima::Shared::Party::isDead | ( | ) | const |
Returns true if the party is dead
| bool Ultima::Shared::Party::isFoodless | ( | ) | const |
Returns true if the party has no food