Better random entity placement and config of entities is now more generic.
This commit is contained in:
parent
641a405a06
commit
b16405cfdc
6 changed files with 61 additions and 50 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "map.hpp"
|
||||
#include "dinkyecs.hpp"
|
||||
#include "components.hpp"
|
||||
|
||||
class WorldBuilder {
|
||||
public:
|
||||
|
@ -21,4 +22,6 @@ class WorldBuilder {
|
|||
void generate_map();
|
||||
void place_entities(DinkyECS::World &world);
|
||||
void generate(DinkyECS::World &world);
|
||||
void random_entity(DinkyECS::World &world, components::GameConfig &config);
|
||||
void randomize_entities(DinkyECS::World &world, components::GameConfig &config);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue