Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MissionShip Class Reference

#include <Mission.h>

List of all members.

Public Member Functions

 MissionShip ()
 ~MissionShip ()
const TextName () const
const TextRegNum () const
const TextRegion () const
const SkinGetSkin () const
const PointLocation () const
const PointVelocity () const
int Respawns () const
double Heading () const
double Integrity () const
int Decoys () const
int Probes () const
const int * Ammo () const
const int * Fuel () const
void SetName (const char *n)
void SetRegNum (const char *n)
void SetRegion (const char *n)
void SetSkin (const Skin *s)
void SetLocation (const Point &p)
void SetVelocity (const Point &p)
void SetRespawns (int r)
void SetHeading (double h)
void SetIntegrity (double n)
void SetDecoys (int d)
void SetProbes (int p)
void SetAmmo (const int *a)
void SetFuel (const int *f)

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

Text name
Text regnum
Text region
const Skinskin
Point loc
Point velocity
int respawns
double heading
double integrity
int decoys
int probes
int ammo [16]
int fuel [4]

Friends

class Mission

Detailed Description

Definition at line 371 of file Mission.h.


Constructor & Destructor Documentation

MissionShip::MissionShip ( )

Definition at line 2134 of file Mission.cpp.

MissionShip::~MissionShip ( )
inline

Definition at line 379 of file Mission.h.


Member Function Documentation

const int* MissionShip::Ammo ( ) const
inline

Definition at line 392 of file Mission.h.

int MissionShip::Decoys ( ) const
inline

Definition at line 390 of file Mission.h.

const int* MissionShip::Fuel ( ) const
inline

Definition at line 393 of file Mission.h.

const Skin* MissionShip::GetSkin ( ) const
inline

Definition at line 384 of file Mission.h.

double MissionShip::Heading ( ) const
inline

Definition at line 388 of file Mission.h.

double MissionShip::Integrity ( ) const
inline

Definition at line 389 of file Mission.h.

const Point& MissionShip::Location ( ) const
inline

Definition at line 385 of file Mission.h.

const Text& MissionShip::Name ( ) const
inline

Definition at line 381 of file Mission.h.

int MissionShip::Probes ( ) const
inline

Definition at line 391 of file Mission.h.

const Text& MissionShip::Region ( ) const
inline

Definition at line 383 of file Mission.h.

const Text& MissionShip::RegNum ( ) const
inline

Definition at line 382 of file Mission.h.

int MissionShip::Respawns ( ) const
inline

Definition at line 387 of file Mission.h.

void MissionShip::SetAmmo ( const int *  a)

Definition at line 2146 of file Mission.cpp.

void MissionShip::SetDecoys ( int  d)
inline

Definition at line 404 of file Mission.h.

void MissionShip::SetFuel ( const int *  f)

Definition at line 2155 of file Mission.cpp.

void MissionShip::SetHeading ( double  h)
inline

Definition at line 402 of file Mission.h.

void MissionShip::SetIntegrity ( double  n)
inline

Definition at line 403 of file Mission.h.

void MissionShip::SetLocation ( const Point p)
inline

Definition at line 399 of file Mission.h.

void MissionShip::SetName ( const char *  n)
inline

Definition at line 395 of file Mission.h.

void MissionShip::SetProbes ( int  p)
inline

Definition at line 405 of file Mission.h.

void MissionShip::SetRegion ( const char *  n)
inline

Definition at line 397 of file Mission.h.

void MissionShip::SetRegNum ( const char *  n)
inline

Definition at line 396 of file Mission.h.

void MissionShip::SetRespawns ( int  r)
inline

Definition at line 401 of file Mission.h.

void MissionShip::SetSkin ( const Skin s)
inline

Definition at line 398 of file Mission.h.

void MissionShip::SetVelocity ( const Point p)
inline

Definition at line 400 of file Mission.h.

static const char* MissionShip::TYPENAME ( )
inlinestatic

Definition at line 376 of file Mission.h.

const Point& MissionShip::Velocity ( ) const
inline

Definition at line 386 of file Mission.h.


Friends And Related Function Documentation

friend class Mission
friend

Definition at line 373 of file Mission.h.


Member Data Documentation

int MissionShip::ammo[16]
protected

Definition at line 421 of file Mission.h.

int MissionShip::decoys
protected

Definition at line 419 of file Mission.h.

int MissionShip::fuel[4]
protected

Definition at line 422 of file Mission.h.

double MissionShip::heading
protected

Definition at line 417 of file Mission.h.

double MissionShip::integrity
protected

Definition at line 418 of file Mission.h.

Point MissionShip::loc
protected

Definition at line 414 of file Mission.h.

Text MissionShip::name
protected

Definition at line 410 of file Mission.h.

int MissionShip::probes
protected

Definition at line 420 of file Mission.h.

Text MissionShip::region
protected

Definition at line 412 of file Mission.h.

Text MissionShip::regnum
protected

Definition at line 411 of file Mission.h.

int MissionShip::respawns
protected

Definition at line 416 of file Mission.h.

const Skin* MissionShip::skin
protected

Definition at line 413 of file Mission.h.

Point MissionShip::velocity
protected

Definition at line 415 of file Mission.h.


The documentation for this class was generated from the following files: