Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
weaponbuilder.h
1
#pragma once
2
3
#include <string>
4
5
6
class
Weapon
;
7
class
GenericGun
;
8
class
GenericRocketLauncher
;
9
10
/*
11
Dedicated to load either a GenericGun or GenericRocketLauncher
12
from a given property-prefix or - if any is known by that name -
13
a special engine that has its own non-generic implementation
14
*/
15
class
WeaponBuilder
{
16
public
:
17
WeaponBuilder
(
const
std::string& name);
18
19
Weapon
* build();
20
21
GenericGun
* buildGenericGun();
22
GenericRocketLauncher
* buildGenericRocketLauncher();
23
24
25
protected
:
26
const
std::string& m_name;
27
};
28
Weapon
Definition:
weapon.h:24
GenericGun
Definition:
genericgun.h:14
WeaponBuilder
Definition:
weaponbuilder.h:15
GenericRocketLauncher
Definition:
genericrocketlauncher.h:12
src
resource
weaponbuilder.h
Generated on Sun Mar 30 2014 13:32:31 for Voxellancer by
1.8.6