The ritual UI is now in its own thing, but not hooked up yet.

This commit is contained in:
Zed A. Shaw 2025-03-19 00:48:43 -04:00
parent f1cc9f86c1
commit 263b7741f6
5 changed files with 156 additions and 73 deletions

View file

@ -6,18 +6,9 @@
#include "guecs.hpp"
namespace gui {
enum class RitualUIState {
OPEN=0,
CLOSED=1,
OPENING=2,
CLOSING=3
};
class StatusUI {
public:
sf::IntRect $ritual_closed_rect{{0,0},{380,720}};
sf::IntRect $ritual_open_rect{{380 * 2,0},{380,720}};
RitualUIState $ritual_state = RitualUIState::CLOSED;
textures::SpriteTexture $ritual_ui;
components::Animation $ritual_anim;
guecs::UI $gui;