47 virtual bool add (
const teamDef_t* team,
int alive,
int dead);
48 virtual bool add (
const char* teamId,
int alive,
int dead);
virtual bool add(const teamDef_t *team, int alive, int dead)
Add aliens to the cargo by teamDef.
int getDead(void) const
Return number of all dead bodies in the cargo.
linkedList_t * list(void) const
Returns a copy of the cargo list.
const teamDef_t * teamDef
virtual ~AlienCargo(void)
Destroys AlienCargo with it's internal data.
AlienCargo(void)
Creates and initializes AlienCargo object.
int getAlive(void) const
Return number of all alive aliens in the cargo.
bool load(xmlNode_t *root)
Load alien cargo from xml savegame.
bool save(xmlNode_t *root) const
Save alien cargo to xml savegame.
struct alienCargo_s alienCargo_t
alien cargo entry