All of the UIs should be cleared out, and that just leaves the tests.

This commit is contained in:
Zed A. Shaw 2025-08-19 23:58:42 -04:00
parent d5ff57e025
commit 564f9842a2
23 changed files with 126 additions and 145 deletions

View file

@ -1,5 +1,4 @@
#pragma once
#include "levelmanager.hpp"
#include "constants.hpp"
#include <deque>
#include "textures.hpp"
@ -37,12 +36,11 @@ namespace gui {
sf::IntRect $ritual_open_rect{{380 * 2,0},{380,720}};
components::Animation $ritual_anim;
guecs::UI $gui;
GameLevel $level;
textures::SpriteTexture $ritual_ui;
::ritual::Engine $ritual_engine;
::ritual::CraftingState $craft_state;
UI(GameLevel level);
UI();
void event(Event ev, std::any data={});
void START(Event);
@ -63,11 +61,7 @@ namespace gui {
void run_crafting_engine();
void complete_combine();
void update_selection_state();
void update_level(GameLevel &level);
::ritual::Blanket& blanket() {
return $level.world->get_the<::ritual::Blanket>();
}
::ritual::Blanket& blanket();
};
}
}