the player now see the bomb explosion before dying of it

This commit is contained in:
HENRY Benjamin
2021-06-17 14:34:29 +02:00
parent 933a96c449
commit 4e306581de
13 changed files with 27 additions and 16 deletions
@@ -75,7 +75,7 @@ namespace BBM
&& (buttonPos.y <= mousePos.y && mousePos.y <= buttonPos.y + dimensions.y));
}
void MenuControllableSystem::onSelfUpdate()
void MenuControllableSystem::onSelfUpdate(std::chrono::nanoseconds dtime)
{
auto &controllableView = this->_wal.getScene()->view<ControllableComponent>();
@@ -30,7 +30,7 @@ namespace BBM
//! @brief time (in millisecond) since last check
std::chrono::time_point<std::chrono::steady_clock> now;
//! @inherit
void onSelfUpdate() override;
void onSelfUpdate(std::chrono::nanoseconds dtime) override;
//! @brief A default constructor
explicit MenuControllableSystem(WAL::Wal &wal);