#pragma once #include "../../entity/character.hpp" #include "../../resources.hpp" #include "item_manager.hpp" #include namespace game::state::play { class Inventory { public: static constexpr auto SIZE = 96.0f; std::map values{}; std::unordered_map actors{}; std::unordered_map rects{}; std::unordered_map canvases{}; int selectedItemID{-1}; void tick(); void update(Resources&, ItemManager&, entity::Character&); int count(); }; }