Better random entity placement and config of entities is now more generic.

This commit is contained in:
Zed A. Shaw 2025-01-13 16:23:33 -05:00
parent 641a405a06
commit b16405cfdc
6 changed files with 61 additions and 50 deletions

View file

@ -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);
};