|
group2 0.1.0
CSE 125 Group 2
|
Struct that defines this weapon's type, cooldown, and ammo. More...
#include <WeaponState.hpp>
Public Attributes | |
| WeaponType | type = WeaponType::Rifle |
| int | totalAmmo = 0 |
| int | currentMagAmmo = 0 |
| float | fireCooldown = 0.f |
| float | chargeTime = 0.f |
| Accumulated charge time (charge weapons only). | |
Struct that defines this weapon's type, cooldown, and ammo.
| float GunInstance::chargeTime = 0.f |
Accumulated charge time (charge weapons only).
| int GunInstance::currentMagAmmo = 0 |
| float GunInstance::fireCooldown = 0.f |
| int GunInstance::totalAmmo = 0 |
| WeaponType GunInstance::type = WeaponType::Rifle |