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

OBJ_GATE Class Reference

A warpgate. More...

List of all members.

Private Methods

int GetGSize ()
GALOBJ Create (int x, int y, int z, int gsubtype, int raceid, int gateid, int tosectorx, int tosectory, int togateid)
GALOBJ Destruct ()
void DestructOther ()
void SetEnvironment (GALOBJ env)
int GetType ()
int GetSubType ()
int GetGType ()
int GetGSubType ()
array GetPos ()
void SetPos (int a_x, int a_y, int a_z)
int GetClass ()
int IsClass (int cl)
SECOBID GetObjectID ()
GALOBJ GetEnvironment ()
int GetNameID ()
string GetName ()
int GetSize ()
string GetDirectionName ()
GALOBJ GetOwner ()
void SetOwner (GALOBJ a_owner)
GALOBJ GetDestinationSector ()
GALOBJ GetDestinationGate ()
void AddTo (GALOBJ gsector)
void SetTargetted (GALOBJ target)
void Deactivate ()
void KilledBy (int reason, SECOBID skiller, SECOBID sother)
void SelfDestruct (int reason)

Private Attributes

array ga_Pos
int ga_GateID
SECOBID ga_ObjectID
GALOBJ ga_Environment


Detailed Description

A warpgate.


Member Function Documentation

void AddTo GALOBJ    gsector [private]
 

See Functions common in every object .

GALOBJ Create int    x,
int    y,
int    z,
int    gsubtype,
int    raceid,
int    gateid,
int    tosectorx,
int    tosectory,
int    togateid
[private]
 

See Functions common in every object . Orientation is given in gsubtype (See *_WARPGATE subtype constants-definitions ).

void Deactivate   [private]
 

See Functions common in every object .

GALOBJ Destruct   [private]
 

See Functions common in every object .

void DestructOther   [private]
 

Destroy gate on other side.

int GetClass   [private]
 

See Differences of in-game objects .

GALOBJ GetDestinationGate   [private]
 

Returns the matching gate in antoher sector.

GALOBJ GetDestinationSector   [private]
 

Returns the sector that this gate leads to.

string GetDirectionName   [private]
 

returns the name of the direction the gate leads to.

GALOBJ GetEnvironment   [private]
 

See Functions common in every object .

int GetGSize   [private]
 

See Functions common in every object .

int GetGSubType   [private]
 

see Differences of in-game objects

int GetGType   [private]
 

see Differences of in-game objects

string GetName   [private]
 

See Functions common in every object .

int GetNameID   [private]
 

See Functions common in every object .

SECOBID GetObjectID   [private]
 

See Functions common in every object .

GALOBJ GetOwner   [private]
 

See Functions common in every object .

array GetPos   [private]
 

See Functions common in every object .

int GetSize   [private]
 

See Functions common in every object .

int GetSubType   [private]
 

see Differences of in-game objects

int GetType   [private]
 

see Differences of in-game objects

int IsClass int    cl [private]
 

See Differences of in-game objects .

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

See Functions common in every object .

void SelfDestruct int    reason [private]
 

See Functions common in every object .

void SetEnvironment GALOBJ    env [private]
 

See Functions common in every object .

void SetOwner GALOBJ    a_owner [private]
 

See Functions common in every object .

void SetPos int    a_x,
int    a_y,
int    a_z
[private]
 

See Functions common in every object .

void SetTargetted GALOBJ    target [private]
 

See Functions common in every object .


Member Data Documentation

GALOBJ ga_Environment [private]
 

the object containing the gate

int ga_GateID [private]
 

ID of the gate in the sector: 0 .. MAX_NUM_GATES_IN_SECTOR.

SECOBID ga_ObjectID [private]
 

is set when in actual sector

array ga_Pos [private]
 

Position (x,y,z,alpha,beta,gamma).


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