26 lines
682 B
C++
26 lines
682 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <guecs/ui.hpp>
|
|
#include "gui/combat_ui.hpp"
|
|
#include "scene.hpp"
|
|
|
|
namespace boss {
|
|
using std::shared_ptr;
|
|
|
|
struct UI {
|
|
DinkyECS::Entity $boss_id = DinkyECS::NONE;
|
|
gui::CombatUI $combat_ui;
|
|
scene::Engine $arena;
|
|
guecs::UI $actions;
|
|
|
|
UI(components::AnimatedScene &scene, DinkyECS::Entity boss_id);
|
|
|
|
void init();
|
|
void render(sf::RenderWindow& window);
|
|
bool mouse(float x, float y, guecs::Modifiers mods);
|
|
void status(const std::wstring& msg);
|
|
void move_actor(const std::string& actor, const std::string& cell_name);
|
|
void animate_actor(const std::string& actor);
|
|
void play_animations();
|
|
};
|
|
}
|