BAD: This gets the animation to control the camera, but it's a quick hack to prove it works.
This commit is contained in:
parent
cb58bdd955
commit
102c8c36d5
5 changed files with 63 additions and 18 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue