|
| GenericGun (const std::string &name) |
|
virtual float | bulletLifetime () const override |
|
void | setBulletLifetime (float bulletLifetime) |
|
virtual float | bulletSpeed () const override |
|
void | setBulletSpeed (float bulletSpeed) |
|
virtual const Visuals & | visuals () const override |
|
void | setVisuals (const Visuals &visuals) |
|
virtual const SoundProperties & | fireSound () const override |
|
void | setFireSound (const SoundProperties &fireSound) |
|
virtual float | cooldownTime () const override |
|
void | setCooldownTime (float cooldownTime) |
|
const std::string & | bulletName () const |
|
void | setBulletName (const std::string &bulletName) |
|
| Gun (const std::string &equipmentKey) |
|
virtual void | fireAtPoint (const glm::vec3 &point) |
|
virtual void | update (float deltaSec) override |
|
| Weapon (WeaponType type, const std::string &equipmentKey) |
|
Hardpoint * | hardpoint () |
|
void | setHardpoint (Hardpoint *hardpoint) |
|
WeaponType | type () const |
|
bool | canFire () |
|
void | onFired () |
|
| Equipment (const std::string &equipmentKey) |
|
const std::string & | equipmentKey () const |
|
|
virtual Bullet * | createBullet () override |
|
void | setupBullet (Bullet *bullet, const glm::vec3 &point) |
|
|
float | m_bulletSpeed |
|
float | m_bulletLifetime |
|
float | m_cooldownTime |
|
Visuals | m_visuals |
|
SoundProperties | m_fireSound |
|
std::string | m_bulletName |
|
Hardpoint * | m_hardpoint |
|
WeaponType | m_type |
|
float | m_cooldown |
|
std::string | m_equipmentKey |
|
The documentation for this class was generated from the following files:
- src/equipment/weapons/genericgun.h
- src/equipment/weapons/genericgun.cpp