mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-02 10:15:32 +00:00
Merge pull request #185 from AnonymusRaccoon/fix_player_death
Fix player death
This commit is contained in:
@@ -72,7 +72,7 @@ namespace BBM
|
||||
&& (buttonPos.y <= mousePos.y && mousePos.y <= buttonPos.y + dimensions.y));
|
||||
}
|
||||
|
||||
void MenuControllableSystem::onSelfUpdate()
|
||||
void MenuControllableSystem::onSelfUpdate(std::chrono::nanoseconds dtime)
|
||||
{
|
||||
RAY::Vector2 rayMousePos = RAYControl::Mouse::getCursorPosition();
|
||||
RAY::Vector2 winSize = RAY::Window::getInstance().getDimensions();
|
||||
|
||||
@@ -33,7 +33,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