Params::sWeaponParams Struct Reference

Weapon parameters. More...

#include <params.h>

Collaboration diagram for Params::sWeaponParams:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 sWeaponParams (bool val=false)

Public Attributes

bool valid
 true if structure is valid
int id
 must be unique
std::string name
 some cool name
std::string model
 some cool model
double fire_rate
 in ms
int projectile
 id in mProjectiles

Detailed Description

Weapon parameters.

Definition at line 113 of file params.h.


Constructor & Destructor Documentation

Params::sWeaponParams::sWeaponParams bool  val = false  )  [inline]
 

Definition at line 115 of file params.h.

References Params::sProjectileParams::valid.


Member Data Documentation

double Params::sWeaponParams::fire_rate
 

in ms

Definition at line 121 of file params.h.

int Params::sWeaponParams::id
 

must be unique

Definition at line 118 of file params.h.

std::string Params::sWeaponParams::model
 

some cool model

Definition at line 120 of file params.h.

std::string Params::sWeaponParams::name
 

some cool name

Definition at line 119 of file params.h.

int Params::sWeaponParams::projectile
 

id in mProjectiles

Definition at line 122 of file params.h.

bool Params::sWeaponParams::valid
 

true if structure is valid

Definition at line 116 of file params.h.


The documentation for this struct was generated from the following file:
Generated on Wed Apr 12 14:20:39 2006 for bjs by  doxygen 1.4.5