#include <BattlePlan.h>
Public Member Functions | |
BattlePlan (bool defined) | |
void | SetDefault () |
bool | ParseNode (const TiXmlNode *node, Player *owner) |
void | WriteNode (TiXmlNode *node) const |
void | WriteNodeBattle (TiXmlNode *node) const |
bool | IsDefined () const |
void | Undefine () |
unsigned long | GetEnemy () const |
HullType | GetPrimary () const |
HullType | GetSecondary () const |
BPTactic | GetTactic () const |
bool | WillFight (const Player *attacker, const Player *defender) const |
Static Protected Member Functions | |
static HullType | GetTarget (const char *ptr) |
static const char * | WriteTarget (HullType target) |
Protected Attributes | |
string | mName |
HullType | mPrimary |
HullType | mSecondary |
BPTactic | mTactic |
unsigned long | mEnemy |
bool | mDumpCargo |
bool | mDefined |
A Battle plan determines how a ship will behave while in battle.
Definition at line 43 of file BattlePlan.h.