BaseballConfig Class Reference

#include <baseball.h>

Inheritance diagram for BaseballConfig:

Inheritance graph
[legend]
Collaboration diagram for BaseballConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

uint range
uint strength

Detailed Description

Definition at line 29 of file baseball.h.


Constructor & Destructor Documentation

BaseballConfig::BaseballConfig (  ) 

Definition at line 87 of file baseball.cpp.

00087                               {
00088   range =  70;
00089   strength = 250;
00090 }


Member Function Documentation

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

Reimplemented from WeaponConfig.

Definition at line 92 of file baseball.cpp.

00092                                               {
00093   WeaponConfig::LoadXml(elem);
00094   XmlReader::ReadUint(elem, "range", range);
00095   XmlReader::ReadUint(elem, "strength", strength);
00096 }

Here is the call graph for this function:


Member Data Documentation

uint BaseballConfig::range

Definition at line 32 of file baseball.h.

uint BaseballConfig::strength

Definition at line 33 of file baseball.h.


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 13:35:11 2007 for Wormux by  doxygen 1.4.7