Move the management of the 'fake loose items container' into the loot_ui.cpp rather than get rid of it. Closes #34.
This commit is contained in:
parent
efdb0cb119
commit
b6d1ae2700
5 changed files with 24 additions and 24 deletions
|
@ -14,6 +14,7 @@ namespace gui {
|
|||
guecs::UI $gui;
|
||||
GameLevel $level;
|
||||
std::unordered_map<guecs::Entity, std::string> $slot_to_name;
|
||||
DinkyECS::Entity $temp_loot;
|
||||
DinkyECS::Entity $target;
|
||||
|
||||
LootUI(GameLevel level);
|
||||
|
@ -31,5 +32,6 @@ namespace gui {
|
|||
|
||||
void remove_slot(guecs::Entity slot_id);
|
||||
bool place_slot(guecs::Entity gui_id, DinkyECS::Entity world_entity);
|
||||
void add_loose_item(DinkyECS::Entity entity);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue