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

#include <CombatZone.h>

List of all members.

Public Member Functions

 CombatZone ()
 ~CombatZone ()
int operator== (const CombatZone &g) const
const TextName () const
const TextSystem () const
void AddGroup (CombatGroup *g)
void RemoveGroup (CombatGroup *g)
bool HasGroup (CombatGroup *g)
void AddRegion (const char *rgn)
bool HasRegion (const char *rgn)
List< Text > & GetRegions ()
List< ZoneForce > & GetForces ()
ZoneForceFindForce (int iff)
ZoneForceMakeForce (int iff)
void Clear ()

Static Public Member Functions

static const char * TYPENAME ()
static List< CombatZone > & Load (const char *filename)

Detailed Description

Definition at line 35 of file CombatZone.h.


Constructor & Destructor Documentation

CombatZone::CombatZone ( )

Definition at line 33 of file CombatZone.cpp.

CombatZone::~CombatZone ( )

Definition at line 37 of file CombatZone.cpp.


Member Function Documentation

void CombatZone::AddGroup ( CombatGroup g)

Definition at line 54 of file CombatZone.cpp.

void CombatZone::AddRegion ( const char *  rgn)

Definition at line 90 of file CombatZone.cpp.

void CombatZone::Clear ( )

Definition at line 46 of file CombatZone.cpp.

ZoneForce * CombatZone::FindForce ( int  iff)

Definition at line 116 of file CombatZone.cpp.

List<ZoneForce>& CombatZone::GetForces ( )
inline

Definition at line 53 of file CombatZone.h.

List<Text>& CombatZone::GetRegions ( )
inline

Definition at line 52 of file CombatZone.h.

bool CombatZone::HasGroup ( CombatGroup g)

Definition at line 76 of file CombatZone.cpp.

bool CombatZone::HasRegion ( const char *  rgn)

Definition at line 103 of file CombatZone.cpp.

List< CombatZone > & CombatZone::Load ( const char *  filename)
static

Definition at line 142 of file CombatZone.cpp.

ZoneForce * CombatZone::MakeForce ( int  iff)

Definition at line 130 of file CombatZone.cpp.

const Text& CombatZone::Name ( ) const
inline

Definition at line 45 of file CombatZone.h.

int CombatZone::operator== ( const CombatZone g) const
inline

Definition at line 43 of file CombatZone.h.

void CombatZone::RemoveGroup ( CombatGroup g)

Definition at line 65 of file CombatZone.cpp.

const Text& CombatZone::System ( ) const
inline

Definition at line 46 of file CombatZone.h.

static const char* CombatZone::TYPENAME ( )
inlinestatic

Definition at line 38 of file CombatZone.h.


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