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

OBJ_FIGHTDRONE Class Reference

A fightdrone. It lives 600 seconds (10 min.). More...

Inheritance diagram for OBJ_FIGHTDRONE:

Inheritance graph
List of all members.

Private Methods

int GetEnergy ()
GALOBJ Create (GALOBJ a_sector, int a_x, int a_y, int a_z, int a_raceid)
GALOBJ Destruct ()
void StartAction ()
int GetClass ()
int IsClass (int cl)

Private Attributes

int c_energy

Detailed Description

A fightdrone. It lives 600 seconds (10 min.).


Member Function Documentation

GALOBJ Create GALOBJ    a_sector,
int    a_x,
int    a_y,
int    a_z,
int    a_raceid
[private]
 

Creates a fightdrone that belonging to a race.

GALOBJ Destruct   [private]
 

Destroys the drone.

Reimplemented from OBJ_SHIP.

int GetClass   [private]
 

returns "OBJ_FIGHTDRONE"

Reimplemented from OBJ_SHIP.

int GetEnergy   [private]
 

returns c_energy

int IsClass int    cl [private]
 

Functions common in every object

Reimplemented from OBJ_SHIP.

void StartAction   [private]
 

StartAction defines which command is the default. Here it is COMMAND_NONE.

Reimplemented from OBJ_SHIP.


Member Data Documentation

int c_energy [private]
 

The energy of the drone (counting down from 100 to 0. 1 step all 6 sec.).


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