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

#include <CombatAssignment.h>

List of all members.

Public Member Functions

 CombatAssignment (int t, CombatGroup *obj, CombatGroup *rsc=0)
 ~CombatAssignment ()
int operator< (const CombatAssignment &a) const
void SetObjective (CombatGroup *o)
void SetResource (CombatGroup *r)
int Type ()
CombatGroupGetObjective ()
CombatGroupGetResource ()
const char * GetDescription () const
bool IsActive () const

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 28 of file CombatAssignment.h.


Constructor & Destructor Documentation

CombatAssignment::CombatAssignment ( int  t,
CombatGroup obj,
CombatGroup rsc = 0 
)

Definition at line 22 of file CombatAssignment.cpp.

CombatAssignment::~CombatAssignment ( )

Definition at line 29 of file CombatAssignment.cpp.


Member Function Documentation

const char * CombatAssignment::GetDescription ( ) const

Definition at line 53 of file CombatAssignment.cpp.

CombatGroup* CombatAssignment::GetObjective ( )
inline

Definition at line 44 of file CombatAssignment.h.

CombatGroup* CombatAssignment::GetResource ( )
inline

Definition at line 45 of file CombatAssignment.h.

bool CombatAssignment::IsActive ( ) const
inline

Definition at line 48 of file CombatAssignment.h.

int CombatAssignment::operator< ( const CombatAssignment a) const

Definition at line 39 of file CombatAssignment.cpp.

void CombatAssignment::SetObjective ( CombatGroup o)
inline

Definition at line 39 of file CombatAssignment.h.

void CombatAssignment::SetResource ( CombatGroup r)
inline

Definition at line 40 of file CombatAssignment.h.

int CombatAssignment::Type ( )
inline

Definition at line 43 of file CombatAssignment.h.

static const char* CombatAssignment::TYPENAME ( )
inlinestatic

Definition at line 31 of file CombatAssignment.h.


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