Inheritance diagram for OBJ_MINE:
Private Methods | |
GALOBJ | Create (GALOBJ a_sector, int a_x, int a_y, int a_z, int a_raceid) |
GALOBJ | Destruct () |
int | IsActive () |
void | SetActive (int a_active) |
void | SelfDestruct (int a_reason) |
void | KilledBy (int a_reason, SECOBID a_skiller, SECOBID a_sother) |
SECOBID | Activate () |
void | StartAction () |
int | GetClass () |
int | IsClass (int cl) |
It is not activated by other mines of same owner (tight minefields possible) but it can damage owner-ship. Damage decreases linear with inc. distance (ca. 700 meters).
|
activates ship-object in sector
Reimplemented from OBJ_SHIP. |
|
Creates a mine that belongs to a given race.
|
|
Removes mine (does not blow up).
Reimplemented from OBJ_SHIP. |
|
returns "OBJ_MINE"
Reimplemented from OBJ_SHIP. |
|
Returns whether the mine is activated.
|
|
Functions common in every object
Reimplemented from OBJ_SHIP. |
|
See Functions common in every object.
Reimplemented from OBJ_SHIP. |
|
See Functions common in every object.
Reimplemented from OBJ_SHIP. |
|
TRUE sets the mine active and FALSE inactive.
|
|
StartAction defines which command is the default. Here it is COMMAND_NONE.
Reimplemented from OBJ_SHIP. |