Merge in the refactor from earlier.

This commit is contained in:
Zed A. Shaw 2024-10-17 21:49:57 -04:00
commit 3dae65fe82
6 changed files with 50 additions and 35 deletions

View file

@ -5,6 +5,8 @@
using std::string;
using namespace fmt;
using namespace Components;
void System::enemy_pathing(DinkyECS::World &world, Map &game_map, Player &player) {
// move enemies system
world.system<Position, Motion>([&](const auto &ent, auto &position, auto &motion) {