#include <params.h>
Collaboration diagram for Params::sBonusParams:

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) | |
Definition at line 142 of file params.h.
|
|
Definition at line 144 of file params.h. References Params::sProjectileParams::valid. |
|
|
Add ammo (permanent).
|
|
|
type of added ammo
|
|
|
add some armor (don't know if percents od absolute) (limited)
|
|
|
change damage in percents (limited)
|
|
|
time in ms how long the bonus will work. If == 0 (limited) params will be ignored.
|
|
|
-- types -- I don't like this solution :( But don't know better idea Number of added HP (permanent)
|
|
|
must be unique
|
|
|
(limited)
|
|
|
(limited)
|
|
|
change max speed of tank in percents (limited)
|
|
|
some cool model
|
|
|
some cool name
|
|
|
amuse user :-)
|
|
|
change time for reloading in percents (limited)
|
|
|
true if structure is valid
|
1.4.5