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

OBJ_ASTEROID Class Reference

The class for asteroids. More...

List of all members.

Private Methods

int GetGSize ()
GALOBJ Create (int x, int y, int z, int gsubtype, int gresource, int yield)
GALOBJ Destruct ()
BOOL GetUnknown ()
BOOL GetScanned ()
void SetKnown (BOOL a_known)
void SetTargetted (BOOL a_yes)
string GetResourceName ()
void SetEnvironment (GALOBJ env)
void SetOwner (GALOBJ owner)
int SetYield (int val)
array GetPos ()
void SetPos (int x, int y, int z)
void SetRot (int alpha, int beta, int gamma)
int GetClass ()
int IsClass (int cl)
SECOBID GetObjectID ()
int GetSubType ()
int GetGSubType ()
int GetGType ()
int GetType ()
int GetResourceType ()
int GetYield ()
int GetNameID ()
string GetName ()
GALOBJ GetOwner ()
int GetSize ()
GALOBJ GetEnvironment ()
void KilledBy (int reason, SECOBID skiller, SECOBID sother)
void AddTo (GALOBJ gsector)
void Deactivate ()
void SelfDestruct (int reason)

Private Attributes

array as_Pos
int as_ResourceSubType
int as_Yield
BOOL as_Unknown
BOOL as_Scanned


Detailed Description

The class for asteroids.


Member Function Documentation

void AddTo GALOBJ    gsector [private]
 

See Functions common in every object . gresource sets as_ResourceSubType.

GALOBJ Create int    x,
int    y,
int    z,
int    gsubtype,
int    gresource,
int    yield
[private]
 

See Functions common in every object . gresource sets as_ResourceSubType.

void Deactivate   [private]
 

See Functions common in every object .

GALOBJ Destruct   [private]
 

See Functions common in every object .

int GetClass   [private]
 

Functions common in every object

GALOBJ GetEnvironment   [private]
 

See Functions common in every object .

int GetGSize   [private]
 

See Functions common in every object .

int GetGSubType   [private]
 

Differences of in-game objects

int GetGType   [private]
 

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]
 

Functions common in every object

GALOBJ GetOwner   [private]
 

Functions common in every object

array GetPos   [private]
 

See Functions common in every object .

string GetResourceName   [private]
 

returns name of the resource

int GetResourceType   [private]
 

returns as_ResourceSubType

BOOL GetScanned   [private]
 

returns as_Scanned

int GetSize   [private]
 

See Functions common in every object .

int GetSubType   [private]
 

Differences of in-game objects

int GetType   [private]
 

Differences of in-game objects

BOOL GetUnknown   [private]
 

returns as_Unknown

int GetYield   [private]
 

reutrns as_Yield

int IsClass int    cl [private]
 

Functions common in every object

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 SetKnown BOOL    a_known [private]
 

set as_Unknown

void SetOwner GALOBJ    owner [private]
 

See Functions common in every object .

void SetPos int    x,
int    y,
int    z
[private]
 

See Functions common in every object .

void SetRot int    alpha,
int    beta,
int    gamma
[private]
 

sets rotation

void SetTargetted BOOL    a_yes [private]
 

See Functions common in every object .

int SetYield int    val [private]
 

sets as_Yield


Member Data Documentation

array as_Pos [private]
 

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

int as_ResourceSubType [private]
 

which subtype of SGTYPE_W_MINERALS

BOOL as_Scanned [private]
 

has asteroid been scanned

BOOL as_Unknown [private]
 

is asteroid unkown by player?

int as_Yield [private]
 

yield in percent from 0..100


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