[BREAKING] Battle system now runs the turn based combat better, and lots of interesting things like if you don't choose an action the host AI rebels and does it for you.

This commit is contained in:
Zed A. Shaw 2025-12-11 13:49:53 -05:00
parent 9739441a9c
commit 986b2612d4
9 changed files with 100 additions and 32 deletions

View file

@ -27,8 +27,8 @@ namespace boss {
combat::BattleEngine $battle;
boss::UI $ui;
sf::Vector2f mouse_pos{0,0};
Entity $player_id = NONE;
int run = 0;
Entity $host = NONE;
components::Combat& $host_combat;
Fight(shared_ptr<World> world, Entity boss_id, Entity player_id);
@ -44,5 +44,6 @@ namespace boss {
void run_systems();
bool player_dead();
void init_fight();
};
}