ScummVM API documentation
Ultima::Shared::Party Class Reference

#include <party.h>

Inheritance diagram for Ultima::Shared::Party:
Ultima::Ultima1::Party

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
 

Detailed Description

Base class for the player's party

Member Function Documentation

◆ add()

void Ultima::Shared::Party::add ( Character c)

Add a character to the party

◆ operator Character &()

Ultima::Shared::Party::operator Character & ( ) const
inline

Casting operator for convenient access to the first character

◆ operator Character *()

Ultima::Shared::Party::operator Character * ( ) const
inline

Casting operator for convenient access to the first character

◆ synchronize()

void Ultima::Shared::Party::synchronize ( Common::Serializer s)

Synchronize data

◆ isDead()

bool Ultima::Shared::Party::isDead ( ) const

Returns true if the party is dead

◆ isFoodless()

bool Ultima::Shared::Party::isFoodless ( ) const

Returns true if the party has no food


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