The ritual UI is now in its own thing, but not hooked up yet.
This commit is contained in:
parent
f1cc9f86c1
commit
263b7741f6
5 changed files with 156 additions and 73 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue