summaryrefslogtreecommitdiff
path: root/scripts/input/InputHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/input/InputHandler.cs')
-rw-r--r--scripts/input/InputHandler.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/input/InputHandler.cs b/scripts/input/InputHandler.cs
index 4f5b4e1..7ee2be1 100644
--- a/scripts/input/InputHandler.cs
+++ b/scripts/input/InputHandler.cs
@@ -4,7 +4,8 @@ public enum InputHandlers
{
MainGame,
GameOver,
- Inspect
+ Inspect,
+ Pickup
}
/// <summary>
@@ -27,6 +28,7 @@ public partial class InputHandler : Node
// Controles para quando o jogador está morto.
inputHandlers.Add(InputHandlers.GameOver, GetNode<GameOverInputHandler>("GameOverInputHandler"));
inputHandlers.Add(InputHandlers.Inspect, GetNode<InspectInputHandler>("InspectInputHandler"));
+ inputHandlers.Add(InputHandlers.Pickup, GetNode<PickupInputHandler>("PickupInputHandler"));
SetInputHandler(startingInputHandler);
}