BattleEngine is now connected to the boss::UI so as you click it'll continually run the plan and figure out the AI actions.

This commit is contained in:
Zed A. Shaw 2025-12-05 00:51:35 -05:00
parent a38bb5b691
commit f839edcd56
10 changed files with 112 additions and 56 deletions

View file

@ -4,6 +4,7 @@
#include "dinkyecs.hpp"
#include "boss/ui.hpp"
#include "gui/fsm_events.hpp"
#include "battle.hpp"
#include <memory>
#include <any>
@ -22,6 +23,7 @@ namespace boss {
public:
shared_ptr<World> $world = nullptr;
DinkyECS::Entity $boss_id = NONE;
combat::BattleEngine $battle;
boss::UI $ui;
sf::Vector2f mouse_pos{0,0};
int run = 0;