SyringeConfig Class Reference

#include <syringe.h>

Inheritance diagram for SyringeConfig:

Inheritance graph
[legend]
Collaboration diagram for SyringeConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SyringeConfig ()
void LoadXml (xmlpp::Element *elem)

Public Attributes

uint range
uint damage
uint turns

Detailed Description

Definition at line 29 of file syringe.h.


Constructor & Destructor Documentation

SyringeConfig::SyringeConfig (  ) 

Definition at line 84 of file syringe.cpp.

00084                             {
00085   range =  45;
00086   turns = 10;
00087   damage = 10;
00088 }


Member Function Documentation

void SyringeConfig::LoadXml ( xmlpp::Element *  elem  )  [virtual]

Reimplemented from WeaponConfig.

Definition at line 90 of file syringe.cpp.

00090                                              {
00091   WeaponConfig::LoadXml(elem);
00092   XmlReader::ReadUint(elem, "range", range);
00093   XmlReader::ReadUint(elem, "turns", turns);
00094   XmlReader::ReadUint(elem, "damage", damage);
00095 }

Here is the call graph for this function:


Member Data Documentation

uint SyringeConfig::damage

Reimplemented from WeaponConfig.

Definition at line 33 of file syringe.h.

uint SyringeConfig::range

Definition at line 32 of file syringe.h.

uint SyringeConfig::turns

Definition at line 34 of file syringe.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 14:21:18 2007 for Wormux by  doxygen 1.4.7