AutomaticBazookaConfig Class Reference

Inheritance diagram for AutomaticBazookaConfig:

Inheritance graph
[legend]
Collaboration diagram for AutomaticBazookaConfig:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

double uncontrolled_turn_speed
double max_controlled_turn_speed
double fuel_time
double rocket_force

Detailed Description

Definition at line 40 of file auto_bazooka.cpp.


Constructor & Destructor Documentation

AutomaticBazookaConfig::AutomaticBazookaConfig (  ) 

Definition at line 236 of file auto_bazooka.cpp.

00236                                                {
00237     uncontrolled_turn_speed = M_PI*8;
00238     max_controlled_turn_speed = M_PI*4;
00239     fuel_time = 10;
00240     rocket_force = 2500;
00241 }


Member Function Documentation

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

Reimplemented from ExplosiveWeaponConfig.

Definition at line 243 of file auto_bazooka.cpp.

00243                                                        {
00244     ExplosiveWeaponConfig::LoadXml(elem);
00245     XmlReader::ReadDouble(elem, "uncontrolled_turn_speed", uncontrolled_turn_speed);
00246     XmlReader::ReadDouble(elem, "max_controlled_turn_speed", max_controlled_turn_speed);
00247     XmlReader::ReadDouble(elem, "fuel_time", fuel_time);
00248     XmlReader::ReadDouble(elem, "rocket_force", rocket_force);
00249 }

Here is the call graph for this function:


Member Data Documentation

double AutomaticBazookaConfig::fuel_time

Definition at line 44 of file auto_bazooka.cpp.

double AutomaticBazookaConfig::max_controlled_turn_speed

Definition at line 43 of file auto_bazooka.cpp.

double AutomaticBazookaConfig::rocket_force

Definition at line 45 of file auto_bazooka.cpp.

double AutomaticBazookaConfig::uncontrolled_turn_speed

Definition at line 42 of file auto_bazooka.cpp.


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