Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List

BattlePlan Class Reference

Battle plans. More...

#include <BattlePlan.h>

List of all members.

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


Detailed Description

Battle plans.

A Battle plan determines how a ship will behave while in battle.

Definition at line 43 of file BattlePlan.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 8 21:34:41 2005 for Freestars by  doxygen 1.4.2-20050421