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

OBJ_SPACEFLY Class Reference

Spaceflies. More...

Inheritance diagram for OBJ_SPACEFLY:

Inheritance graph
List of all members.

Private Methods

GALOBJ Create (int x, int y, int z, GALOBJ sector)
GALOBJ Destruct ()
void AddTo (GALOBJ env)
SECOBID Activate ()
void Deactivate ()
void AttackedBy (SECOBID attacker)
void KilledBy (int reason, SECOBID skiller, SECOBID sother)
void SelfDestruct (int reason)
BOOL DoesCommunicate ()
void StartAction ()
int GetClass ()
int IsClass (int c)

Detailed Description

Spaceflies.


Member Function Documentation

SECOBID Activate   [private]
 

activates ship-object in sector

Reimplemented from OBJ_SHIP.

void AddTo GALOBJ    env [private]
 

See Functions common in every object.

Reimplemented from OBJ_SHIP.

void AttackedBy SECOBID    attacker [private]
 

Fct. handles being attacked. Causes some random damage. If a non-player ship is attacked, there is a chance that the ship can be taken over and the player looses the licence of the race of the attacked ship. This fct. is called when ship is in current sector

Reimplemented from OBJ_SHIP.

GALOBJ Create int    x,
int    y,
int    z,
GALOBJ    sector
[private]
 

create a new OBJ_SPACEFLY

void Deactivate   [private]
 

See Functions common in every object.

Reimplemented from OBJ_SHIP.

GALOBJ Destruct   [private]
 

See Functions common in every object.

Reimplemented from OBJ_SHIP.

BOOL DoesCommunicate   [private]
 

returns TRUE

Reimplemented from OBJ_SHIP.

int GetClass   [private]
 

Functions common in every object

Reimplemented from OBJ_SHIP.

int IsClass int    c [private]
 

Functions common in every object

Reimplemented from OBJ_SHIP.

void KilledBy int    reason,
SECOBID    skiller,
SECOBID    sother
[private]
 

See Functions common in every object.

Reimplemented from OBJ_SHIP.

void SelfDestruct int    reason [private]
 

See Functions common in every object.

Reimplemented from OBJ_SHIP.

void StartAction   [private]
 

default command is COMMAND_FOLLOW

Reimplemented from OBJ_SHIP.


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