From 862b399fa37e6ca692d38177a22ee34860d2251e Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 15 Sep 2025 20:00:47 -0300 Subject: Menu principal --- scripts/InputHandling/GameOverInputHandler.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/InputHandling/GameOverInputHandler.cs') diff --git a/scripts/InputHandling/GameOverInputHandler.cs b/scripts/InputHandling/GameOverInputHandler.cs index e11e98a..bfd6d79 100644 --- a/scripts/InputHandling/GameOverInputHandler.cs +++ b/scripts/InputHandling/GameOverInputHandler.cs @@ -1,3 +1,4 @@ +using Godot; using TheLegendOfGustav.Entities.Actions; using TheLegendOfGustav.Entities.Actors; @@ -11,6 +12,11 @@ public partial class GameOverInputHandler : BaseInputHandler // Por enquanto não tem nada. public override Action GetAction(Player player) { - return null; + Action action = null; + if (Input.IsActionJustPressed("quit")) + { + action = new EscapeAction(player); + } + return action; } } \ No newline at end of file -- cgit v1.2.3