Starshatter_Open
Open source Starshatter engine
|
#include <Combatant.h>
Public Member Functions | |
Combatant (const char *com_name, const char *file_name, int iff) | |
Combatant (const char *com_name, CombatGroup *force) | |
~Combatant () | |
const char * | Name () const |
int | GetIFF () const |
int | Score () const |
const char * | GetDescription () const |
CombatGroup * | GetForce () |
CombatGroup * | FindGroup (int type, int id=-1) |
List< CombatGroup > & | GetTargetList () |
List< CombatGroup > & | GetDefendList () |
List< Mission > & | GetMissionList () |
void | AddMission (Mission *m) |
void | SetScore (int points) |
void | AddScore (int points) |
double | GetTargetStratFactor (int type) |
void | SetTargetStratFactor (int type, double f) |
Static Public Member Functions | |
static const char * | TYPENAME () |
Definition at line 30 of file Combatant.h.
Combatant::Combatant | ( | const char * | com_name, |
const char * | file_name, | ||
int | iff | ||
) |
Definition at line 37 of file Combatant.cpp.
Combatant::Combatant | ( | const char * | com_name, |
CombatGroup * | force | ||
) |
Definition at line 49 of file Combatant.cpp.
Combatant::~Combatant | ( | ) |
Definition at line 65 of file Combatant.cpp.
void Combatant::AddMission | ( | Mission * | m | ) |
Definition at line 87 of file Combatant.cpp.
|
inline |
Definition at line 54 of file Combatant.h.
CombatGroup * Combatant::FindGroup | ( | int | type, |
int | id = -1 |
||
) |
Definition at line 76 of file Combatant.cpp.
|
inline |
Definition at line 49 of file Combatant.h.
|
inline |
Definition at line 45 of file Combatant.h.
|
inline |
Definition at line 46 of file Combatant.h.
|
inline |
Definition at line 43 of file Combatant.h.
Definition at line 50 of file Combatant.h.
|
inline |
Definition at line 48 of file Combatant.h.
double Combatant::GetTargetStratFactor | ( | int | type | ) |
Definition at line 95 of file Combatant.cpp.
|
inline |
Definition at line 42 of file Combatant.h.
|
inline |
Definition at line 44 of file Combatant.h.
|
inline |
Definition at line 53 of file Combatant.h.
void Combatant::SetTargetStratFactor | ( | int | type, |
double | f | ||
) |
Definition at line 132 of file Combatant.cpp.
|
inlinestatic |
Definition at line 33 of file Combatant.h.