la consola ja no pausa al jugador

This commit is contained in:
2026-03-29 18:24:47 +02:00
parent 3b233f0e12
commit 301e0145fb
5 changed files with 21 additions and 12 deletions

View File

@@ -55,6 +55,7 @@ void Player::update(float delta_time) {
// Comprueba las entradas y modifica variables
void Player::handleInput() {
if (ignore_input_) { return; }
if (Input::get()->checkAction(InputAction::LEFT)) {
wanna_go_ = Direction::LEFT;
} else if (Input::get()->checkAction(InputAction::RIGHT)) {