Basic inventory system working and can pick up items but needs to be reflected in the UI next.

This commit is contained in:
Zed A. Shaw 2025-01-03 13:41:57 -05:00
parent d7353a02df
commit 135d9a128b
14 changed files with 212 additions and 48 deletions

View file

@ -16,4 +16,5 @@ namespace System {
void enemy_pathing(DinkyECS::World &world, Map &game_map, Player &player);
void draw_entities(DinkyECS::World &world, Map &game_map, const Matrix &lighting, ftxui::Canvas &canvas, const Point &cam_orig, size_t view_x, size_t view_y);
void init_positions(DinkyECS::World &world);
void pickup(DinkyECS::World &world, DinkyECS::Entity actor, DinkyECS::Entity item);
}