#include <weapon_cfg.h>
Inheritance diagram for WeaponConfig:
Public Member Functions | |
WeaponConfig () | |
virtual | ~WeaponConfig () |
virtual void | LoadXml (xmlpp::Element *elem) |
Public Attributes | |
uint | damage |
Definition at line 38 of file weapon_cfg.h.
WeaponConfig::WeaponConfig | ( | ) |
virtual WeaponConfig::~WeaponConfig | ( | ) | [inline, virtual] |
void WeaponConfig::LoadXml | ( | xmlpp::Element * | elem | ) | [virtual] |
Implements EmptyWeaponConfig.
Reimplemented in AirAttackConfig, AirhammerConfig, AutomaticBazookaConfig, BaseballConfig, BlowtorchConfig, ClusterBombConfig, MineConfig, ParachuteConfig, SuperTuxWeaponConfig, SyringeConfig, and ExplosiveWeaponConfig.
Definition at line 34 of file weapon_cfg.cpp.
00035 { 00036 XmlReader::ReadUint(elem, "damage", damage); 00037 }
Here is the call graph for this function:
Here is the caller graph for this function: