TankAIWeaponSets Class Reference

#include <TankAIWeaponSets.h>

List of all members.

Public Member Functions

WeaponSetgetWeaponSet (const char *name)

Static Public Member Functions

static TankAIWeaponSetsinstance ()

Protected Member Functions

bool parseConfig ()

Protected Attributes

std::map
< std::string,
WeaponSet
weaponSets_

Private Member Functions

 TankAIWeaponSets ()
virtual ~TankAIWeaponSets ()

Classes

class  WeaponSet
class  WeaponSetEntry


Detailed Description

Definition at line 31 of file TankAIWeaponSets.h.


Constructor & Destructor Documentation

TankAIWeaponSets::TankAIWeaponSets (  )  [private]

Definition at line 37 of file TankAIWeaponSets.cpp.

References parseConfig().

TankAIWeaponSets::~TankAIWeaponSets (  )  [private, virtual]

Definition at line 42 of file TankAIWeaponSets.cpp.


Member Function Documentation

TankAIWeaponSets * TankAIWeaponSets::instance (  )  [static]

Definition at line 31 of file TankAIWeaponSets.cpp.

Referenced by TankAICurrentWeapons::parseConfig().

TankAIWeaponSets::WeaponSet * TankAIWeaponSets::getWeaponSet ( const char *  name  ) 

Definition at line 77 of file TankAIWeaponSets.cpp.

References weaponSets_.

Referenced by TankAICurrentWeapons::parseConfig().

bool TankAIWeaponSets::parseConfig (  )  [protected]

Definition at line 46 of file TankAIWeaponSets.cpp.

References S3D::dialogMessage(), XMLNode::failChildren(), file, S3D::formatStringBuffer(), S3D::getDataFile(), XMLNode::getNamedChild(), XMLFile::getParserError(), XMLFile::getRootNode(), TankAIWeaponSets::WeaponSet::name, TankAIWeaponSets::WeaponSet::parseConfig(), XMLFile::readFile(), and weaponSets_.

Referenced by TankAIWeaponSets().


Member Data Documentation

std::map<std::string, WeaponSet> TankAIWeaponSets::weaponSets_ [protected]

Definition at line 64 of file TankAIWeaponSets.h.

Referenced by getWeaponSet(), and parseConfig().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3