mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-27 16:22:09 +00:00
Finishing the replay button
This commit is contained in:
@@ -21,6 +21,9 @@ namespace BBM
|
||||
const auto &keyboard = entity.get<KeyboardComponent>();
|
||||
auto &controllable = entity.get<ControllableComponent>();
|
||||
|
||||
if (controllable.disabled)
|
||||
return;
|
||||
|
||||
const std::map<KeyboardKey, bool &> keyPressedMap = {
|
||||
{keyboard.keyJump, controllable.select},
|
||||
{keyboard.keyBomb, controllable.bomb},
|
||||
|
||||
Reference in New Issue
Block a user