Event system now accepts any data and the GUI receives simpler events with data for them.
This commit is contained in:
parent
0e79288afc
commit
ed9d0de8e0
7 changed files with 45 additions and 57 deletions
|
@ -8,7 +8,7 @@ using namespace components;
|
|||
|
||||
namespace System {
|
||||
void motion(DinkyECS::World &world, Map &game_map);
|
||||
void combat(DinkyECS::World &world, Player &player);
|
||||
void collision(DinkyECS::World &world, Player &player);
|
||||
void death(DinkyECS::World &world);
|
||||
void enemy_pathing(DinkyECS::World &world, Map &game_map, Player &player);
|
||||
void draw_map(DinkyECS::World &world, Map &game_map, ftxui::Canvas &canvas, size_t view_x, size_t view_y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue