ParachuteConfig Class Reference

#include <parachute.h>

Inheritance diagram for ParachuteConfig:

Inheritance graph
[legend]
Collaboration diagram for ParachuteConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

double wind_factor
double air_resist_factor

Detailed Description

Definition at line 27 of file parachute.h.


Constructor & Destructor Documentation

ParachuteConfig::ParachuteConfig (  ) 

Definition at line 133 of file parachute.cpp.

00133                                 { 
00134   wind_factor = 10.0;
00135   air_resist_factor = 140.0 ;
00136 }


Member Function Documentation

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

Reimplemented from WeaponConfig.

Definition at line 138 of file parachute.cpp.

00138                                                {
00139   WeaponConfig::LoadXml(elem);
00140   XmlReader::ReadDouble(elem, "wind_factor", wind_factor);
00141   XmlReader::ReadDouble(elem, "air_resist_factor", air_resist_factor);
00142 }

Here is the call graph for this function:


Member Data Documentation

double ParachuteConfig::air_resist_factor

Definition at line 31 of file parachute.h.

double ParachuteConfig::wind_factor

Definition at line 30 of file parachute.h.


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