|
Voxellancer
0.3
A game about voxels in space
|
#include <rocketlauncher.h>
Public Member Functions | |
| RocketLauncher (const std::string &equipmentKey) | |
| virtual void | fireAtObject (WorldObject *target) |
| virtual void | update (float deltaSec) override |
Public Member Functions inherited from Weapon | |
| 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 () |
Public Member Functions inherited from Equipment | |
| Equipment (const std::string &equipmentKey) | |
| const std::string & | equipmentKey () const |
Protected Member Functions | |
| virtual Rocket * | createRocket ()=0 |
| void | setupRocket (Rocket *rocket, WorldObject *target) |
Additional Inherited Members | |
Protected Attributes inherited from Weapon | |
| Hardpoint * | m_hardpoint |
| WeaponType | m_type |
| float | m_cooldown |
Protected Attributes inherited from Equipment | |
| std::string | m_equipmentKey |
Base class for every Weapon that shoots rockets, i.e. projectiles that follow a target