summaryrefslogtreecommitdiff
path: root/scripts/InputHandling/MainGameInputHandler.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-10-30 17:31:00 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-10-30 17:31:06 -0300
commitd6fc2026917d55fa12713e3d00004ec461cc5971 (patch)
tree54fc79f9f8a217b2477721e21875e74c1736564e /scripts/InputHandling/MainGameInputHandler.cs
parente40bc38dcc17ebeb40722bedb94a6459e47b9aeb (diff)
vários andares
Diffstat (limited to 'scripts/InputHandling/MainGameInputHandler.cs')
-rw-r--r--scripts/InputHandling/MainGameInputHandler.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/InputHandling/MainGameInputHandler.cs b/scripts/InputHandling/MainGameInputHandler.cs
index bbfb9ca..a18bd73 100644
--- a/scripts/InputHandling/MainGameInputHandler.cs
+++ b/scripts/InputHandling/MainGameInputHandler.cs
@@ -63,6 +63,11 @@ public partial class MainGameInputHandler : BaseInputHandler
action = new EscapeAction(player);
}
+ if (Input.IsActionJustPressed("descend"))
+ {
+ action = new TakeStairsAction(player);
+ }
+
return action;
}
}