Junk items are now transfered to your blanket so you can use them in crafting. No UI for that though.
This commit is contained in:
parent
bc557652ba
commit
1a9e068d02
10 changed files with 86 additions and 53 deletions
|
@ -19,7 +19,7 @@ namespace gui {
|
|||
sf::IntRect $ritual_closed_rect{{0,0},{380,720}};
|
||||
sf::IntRect $ritual_open_rect{{380 * 2,0},{380,720}};
|
||||
ritual::Engine $engine;
|
||||
ritual::CraftingState $blanket;
|
||||
ritual::CraftingState $craft_state;
|
||||
RitualUIState $ritual_state = RitualUIState::CLOSED;
|
||||
textures::SpriteTexture $ritual_ui;
|
||||
components::Animation $ritual_anim;
|
||||
|
@ -34,6 +34,7 @@ namespace gui {
|
|||
void render(sf::RenderWindow &window);
|
||||
void update();
|
||||
|
||||
void update_items();
|
||||
void ritual_circle_clicked(DinkyECS::Entity ent);
|
||||
void inv_slot_clicked(DinkyECS::Entity ent);
|
||||
void reset_inv_positions();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue