Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

OBJ_RACE Class Reference

Inheritance diagram for OBJ_RACE:

Inheritance graph
List of all members.

Private Methods

int GetClass ()
int IsClass (int cl)
void AddMoney (int val)
void TradeMoney (int val)
int GetMoney ()

Detailed Description

The race-object controls all global race decisions (the behaviour of the race). It can also be owner of objects like Ships etc. (as derived from OBJ_RACEBASE). There is a global array, ga_Races[] (see also Global Variables ), that holds - for every race - an instance of this class. Functions belonging to races can be called with ga_Races[RACE_xx].Foo(), where RACE_xx stands for the race-id (see Race IDs ).


Member Function Documentation

void AddMoney int    val [private]
 

fct. has no effect

Reimplemented from OBJ_RACEBASE.

int GetClass   [private]
 

See Functions common in every object.

Reimplemented from OBJ_RACEBASE.

int GetMoney   [private]
 

returns "infinite" money

Reimplemented from OBJ_RACEBASE.

int IsClass int    cl [private]
 

See Functions common in every object.

Reimplemented from OBJ_RACEBASE.

void TradeMoney int    val [private]
 

same as AddMoney()

Reimplemented from OBJ_RACEBASE.


Generated on Mon Aug 26 18:26:27 2002 for X² KC by doxygen1.2.17