mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-02 18:21:12 +00:00
the player now see the bomb explosion before dying of it
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user