Now have a fancy hand animation when you cast your rituals.
This commit is contained in:
parent
ad3e580495
commit
7af264e147
9 changed files with 43 additions and 8 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "gui/overlay_ui.hpp"
|
||||
#include "gui/debug_ui.hpp"
|
||||
#include "raycaster.hpp"
|
||||
#include "animation.hpp"
|
||||
#include <optional>
|
||||
|
||||
namespace gui {
|
||||
|
|
@ -19,6 +20,8 @@ namespace gui {
|
|||
sf::RenderWindow& $window;
|
||||
OverlayUI $overlay_ui;
|
||||
std::shared_ptr<Raycaster> $rayview;
|
||||
textures::SpriteTexture $hand;
|
||||
components::Animation $hand_anim;
|
||||
|
||||
MainUI(sf::RenderWindow& window);
|
||||
|
||||
|
|
@ -41,5 +44,7 @@ namespace gui {
|
|||
void dead_entity(DinkyECS::Entity entity);
|
||||
void toggle_mind_reading();
|
||||
void render_mind_reading();
|
||||
void play_hands();
|
||||
void render_hands();
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue