#include <TankAIWeaponSets.h>
Public Member Functions | |
| WeaponSet * | getWeaponSet (const char *name) |
Static Public Member Functions | |
| static TankAIWeaponSets * | instance () |
Protected Member Functions | |
| bool | parseConfig () |
Protected Attributes | |
| std::map < std::string, WeaponSet > | weaponSets_ |
Private Member Functions | |
| TankAIWeaponSets () | |
| virtual | ~TankAIWeaponSets () |
Classes | |
| class | WeaponSet |
| class | WeaponSetEntry |
Definition at line 31 of file TankAIWeaponSets.h.
| TankAIWeaponSets::TankAIWeaponSets | ( | ) | [private] |
| TankAIWeaponSets::~TankAIWeaponSets | ( | ) | [private, virtual] |
Definition at line 42 of file TankAIWeaponSets.cpp.
| 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().
std::map<std::string, WeaponSet> TankAIWeaponSets::weaponSets_ [protected] |
1.5.3