Inheritance diagram for OBJ_FIGHTDRONE:
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 |
|
Creates a fightdrone that belonging to a race.
|
|
Destroys the drone.
Reimplemented from OBJ_SHIP. |
|
returns "OBJ_FIGHTDRONE"
Reimplemented from OBJ_SHIP. |
|
returns c_energy
|
|
Functions common in every object
Reimplemented from OBJ_SHIP. |
|
StartAction defines which command is the default. Here it is COMMAND_NONE.
Reimplemented from OBJ_SHIP. |
|
The energy of the drone (counting down from 100 to 0. 1 step all 6 sec.).
|