Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
rocketlauncher.h
1
#pragma once
2
3
#include "equipment/weapon.h"
4
5
#include "rocket.h"
6
7
12
class
RocketLauncher
:
public
Weapon
{
13
public
:
14
RocketLauncher
(
const
std::string& equipmentKey);
15
16
virtual
void
fireAtObject(
WorldObject
* target);
17
18
virtual
void
update(
float
deltaSec)
override
;
19
20
21
protected
:
22
virtual
Rocket
* createRocket() = 0;
23
void
setupRocket(
Rocket
* rocket,
WorldObject
* target);
24
};
25
WorldObject
Definition:
worldobject.h:43
RocketLauncher
Definition:
rocketlauncher.h:12
Weapon
Definition:
weapon.h:24
Rocket
Definition:
rocket.h:22
src
equipment
weapons
rocketlauncher.h
Generated on Sun Mar 30 2014 13:32:31 for Voxellancer by
1.8.6