|
Voxellancer
0.3
A game about voxels in space
|
#include <weapon.h>
Public Member Functions | |
| 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 |
| virtual void | update (float deltaSec) |
| bool | canFire () |
| void | onFired () |
Public Member Functions inherited from Equipment | |
| Equipment (const std::string &equipmentKey) | |
| const std::string & | equipmentKey () const |
Protected Attributes | |
| Hardpoint * | m_hardpoint |
| WeaponType | m_type |
| float | m_cooldown |
Protected Attributes inherited from Equipment | |
| std::string | m_equipmentKey |
Weapon to be mounted to a HardPoint