Inventory and lighting improved, now to get ready for going down a level and that's most of the game loop working.
This commit is contained in:
parent
0878a9e978
commit
dfd59065f7
8 changed files with 43 additions and 36 deletions
|
@ -10,14 +10,10 @@ namespace gui {
|
|||
public:
|
||||
guecs::UI $gui;
|
||||
DinkyECS::Entity $log_to;
|
||||
std::array<std::string, 9> $slots = {
|
||||
"slot1", "slot2", "slot3",
|
||||
"slot4", "slot5", "slot6",
|
||||
"slot7", "slot8", "slot9"
|
||||
};
|
||||
|
||||
std::map<std::string, size_t> $slots;
|
||||
std::deque<std::string> $messages;
|
||||
GameLevel $level;
|
||||
|
||||
StatusUI(GameLevel level);
|
||||
void select_slot(DinkyECS::Entity ent, std::any data);
|
||||
void update_level(GameLevel &level) { $level = level; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue