Params::sBonusParams Struct Reference

Bonus parameters. More...

#include <params.h>

Collaboration diagram for Params::sBonusParams:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 sBonusParams (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
std::string pick_message
 amuse user :-)
int duration
 time in ms how long the bonus will work. If == 0 (limited) params will be ignored.
int HP_change
 -- types -- I don't like this solution :( But don't know better idea Number of added HP (permanent)
int ammo_addition
 Add ammo (permanent).
int ammo_type
 type of added ammo
double max_speed
 change max speed of tank in percents (limited)
double reload_time
 change time for reloading in percents (limited)
double damage
 change damage in percents (limited)
double armor
 add some armor (don't know if percents od absolute) (limited)
bool invulnerability
 (limited)
bool invisibility
 (limited)

Detailed Description

Bonus parameters.

Definition at line 142 of file params.h.


Constructor & Destructor Documentation

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

Definition at line 144 of file params.h.

References Params::sProjectileParams::valid.


Member Data Documentation

int Params::sBonusParams::ammo_addition
 

Add ammo (permanent).

Definition at line 159 of file params.h.

int Params::sBonusParams::ammo_type
 

type of added ammo

Definition at line 160 of file params.h.

double Params::sBonusParams::armor
 

add some armor (don't know if percents od absolute) (limited)

Definition at line 164 of file params.h.

double Params::sBonusParams::damage
 

change damage in percents (limited)

Definition at line 163 of file params.h.

int Params::sBonusParams::duration
 

time in ms how long the bonus will work. If == 0 (limited) params will be ignored.

Definition at line 155 of file params.h.

int Params::sBonusParams::HP_change
 

-- types -- I don't like this solution :( But don't know better idea Number of added HP (permanent)

Definition at line 158 of file params.h.

int Params::sBonusParams::id
 

must be unique

Definition at line 147 of file params.h.

bool Params::sBonusParams::invisibility
 

(limited)

Definition at line 166 of file params.h.

bool Params::sBonusParams::invulnerability
 

(limited)

Definition at line 165 of file params.h.

double Params::sBonusParams::max_speed
 

change max speed of tank in percents (limited)

Definition at line 161 of file params.h.

std::string Params::sBonusParams::model
 

some cool model

Definition at line 149 of file params.h.

std::string Params::sBonusParams::name
 

some cool name

Definition at line 148 of file params.h.

std::string Params::sBonusParams::pick_message
 

amuse user :-)

Definition at line 150 of file params.h.

double Params::sBonusParams::reload_time
 

change time for reloading in percents (limited)

Definition at line 162 of file params.h.

bool Params::sBonusParams::valid
 

true if structure is valid

Definition at line 145 of file params.h.


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