Moved the animated scene into its own system for better development.
This commit is contained in:
parent
49c9702041
commit
4f39f2a504
7 changed files with 209 additions and 159 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue