#include <mine.h>
Inheritance diagram for MineConfig:
Public Member Functions | |
virtual void | LoadXml (xmlpp::Element *elem) |
Static Public Member Functions | |
static MineConfig * | GetInstance () |
Public Attributes | |
uint | escape_time |
double | detection_range |
Private Member Functions | |
MineConfig () | |
Static Private Attributes | |
static MineConfig * | singleton = NULL |
Definition at line 67 of file mine.h.
MineConfig::MineConfig | ( | ) | [private] |
Definition at line 221 of file mine.cpp.
00222 { 00223 detection_range= 1; 00224 timeout = 3; 00225 escape_time = 2; 00226 }
Here is the caller graph for this function:
MineConfig * MineConfig::GetInstance | ( | ) | [static] |
void MineConfig::LoadXml | ( | xmlpp::Element * | elem | ) | [virtual] |
Reimplemented from ExplosiveWeaponConfig.
Definition at line 228 of file mine.cpp.
00229 { 00230 ExplosiveWeaponConfig::LoadXml (elem); 00231 XmlReader::ReadUint(elem, "escape_time", escape_time); 00232 XmlReader::ReadDouble(elem, "detection_range", detection_range); 00233 }
Here is the call graph for this function:
double MineConfig::detection_range |
MineConfig * MineConfig::singleton = NULL [static, private] |