Made the components module work like textures and sound so that there's just one constant map of components.
This commit is contained in:
parent
ab391aaa97
commit
f208ca946e
10 changed files with 42 additions and 41 deletions
|
@ -8,12 +8,10 @@
|
|||
class WorldBuilder {
|
||||
public:
|
||||
Map& $map;
|
||||
components::ComponentMap& $components;
|
||||
SpatialMap $collision;
|
||||
|
||||
WorldBuilder(Map &map, components::ComponentMap& components) :
|
||||
$map(map),
|
||||
$components(components)
|
||||
WorldBuilder(Map &map) :
|
||||
$map(map)
|
||||
{ }
|
||||
|
||||
void generate_map();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue