A bit more cleanup, but still looking for more organization.

This commit is contained in:
Zed A. Shaw 2024-10-16 23:15:56 -04:00
parent e42647d727
commit 1bb8999610
6 changed files with 50 additions and 34 deletions

View file

@ -1,5 +1,7 @@
#include "systems.hpp"
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) {