Moved the animated scene into its own system for better development.

This commit is contained in:
Zed A. Shaw 2025-10-23 11:37:35 -04:00
parent 49c9702041
commit 4f39f2a504
7 changed files with 209 additions and 159 deletions

View file

@ -6,7 +6,7 @@ namespace boss {
Fight::Fight(shared_ptr<World> world, Entity boss_id) :
$world(world),
$boss_id(boss_id),
$ui(world, boss_id)
$ui(world->get<components::AnimatedScene>($boss_id), boss_id)
{
$ui.init();
}