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:
parent
a38bb5b691
commit
f839edcd56
10 changed files with 112 additions and 56 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue