|
| Gun (const std::string &equipmentKey) |
|
virtual const SoundProperties & | fireSound () const =0 |
|
virtual float | bulletLifetime () const =0 |
|
virtual float | bulletSpeed () const =0 |
|
virtual void | fireAtPoint (const glm::vec3 &point) |
|
virtual void | update (float deltaSec) override |
|
| Weapon (WeaponType type, const std::string &equipmentKey) |
|
virtual const Visuals & | visuals () const =0 |
|
Hardpoint * | hardpoint () |
|
void | setHardpoint (Hardpoint *hardpoint) |
|
WeaponType | type () const |
|
virtual float | cooldownTime () const =0 |
|
bool | canFire () |
|
void | onFired () |
|
| Equipment (const std::string &equipmentKey) |
|
const std::string & | equipmentKey () const |
|
|
virtual Bullet * | createBullet ()=0 |
|
void | setupBullet (Bullet *bullet, const glm::vec3 &point) |
|
|
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/gun.h
- src/equipment/weapons/gun.cpp