Basic arena working that lets me work on the boss fight system quicker.
This commit is contained in:
parent
7f10c5b3d7
commit
a578c49a77
11 changed files with 110 additions and 217 deletions
|
|
@ -82,7 +82,6 @@ namespace boss {
|
|||
}
|
||||
|
||||
void UI::render(sf::RenderWindow& window) {
|
||||
|
||||
$actions.render(window);
|
||||
$combat_ui.render(window);
|
||||
|
||||
|
|
@ -139,6 +138,8 @@ namespace boss {
|
|||
// deltaTime = end - start
|
||||
// lerp(a, b, 1 - f ^ deltaTime)
|
||||
// std::this_thread::sleep_for(16ms);
|
||||
} else {
|
||||
animation::apply($boss_anim, *$boss_sprite.sprite, $boss_pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue