BROKEN: Big refactoring happening, so it compiles but game does not run and the tests fail.
This commit is contained in:
parent
96efc990c1
commit
9e91c71125
25 changed files with 128 additions and 526 deletions
|
@ -234,8 +234,8 @@ TEST_CASE("test serialization with nlohmann::json", "[ecs-serialize]") {
|
|||
DinkyECS::Entity ent1 = world.entity();
|
||||
DinkyECS::Entity ent2 = world.entity();
|
||||
|
||||
DinkyECS::configure(world, component_map, ent1, data);
|
||||
DinkyECS::configure(world, component_map, ent2, data);
|
||||
DinkyECS::configure(component_map, world, ent1, data);
|
||||
DinkyECS::configure(component_map, world, ent2, data);
|
||||
|
||||
world.query<Position, Motion>([&](const auto ent, auto &pos, auto &motion) {
|
||||
fmt::println("entity: {}; position={},{} and motion={},{} motion.random={}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue