BAD: This gets the animation to control the camera, but it's a quick hack to prove it works.

This commit is contained in:
Zed A. Shaw 2025-11-01 01:15:18 -04:00
parent cb58bdd955
commit 102c8c36d5
5 changed files with 63 additions and 18 deletions

View file

@ -4,6 +4,10 @@
#include "gui/combat_ui.hpp"
#include "scene.hpp"
namespace components {
struct Animation;
}
namespace boss {
using std::shared_ptr;
@ -14,6 +18,7 @@ namespace boss {
guecs::UI $actions;
sf::RenderTexture $view_texture;
sf::Sprite $view_sprite;
components::Animation $zoom_anim;
UI(components::AnimatedScene &scene, DinkyECS::Entity boss_id);