diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-14 10:41:08 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-14 10:41:08 -0300 |
| commit | 1e17a31e3eeed8ccf76982534002513cee6593f1 (patch) | |
| tree | 74d8e4fbf706b1008edcd699b0ba7af2d6bb34ea /scripts/InputHandling/MainGameInputHandler.cs | |
| parent | 5958d9c071915ab71aea5a5c08d79e88024f6c58 (diff) | |
Magicas
Diffstat (limited to 'scripts/InputHandling/MainGameInputHandler.cs')
| -rw-r--r-- | scripts/InputHandling/MainGameInputHandler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/InputHandling/MainGameInputHandler.cs b/scripts/InputHandling/MainGameInputHandler.cs index fe8e573..6a110d7 100644 --- a/scripts/InputHandling/MainGameInputHandler.cs +++ b/scripts/InputHandling/MainGameInputHandler.cs @@ -48,6 +48,11 @@ public partial class MainGameInputHandler : BaseInputHandler GetParent<InputHandler>().SetInputHandler(InputHandlers.Inspect); } + if (Input.IsActionJustPressed("open-spellbook")) + { + GetParent<InputHandler>().SetInputHandler(InputHandlers.SpellMenu); + } + if (Input.IsActionJustPressed("skip-turn")) { action = new WaitAction(player); |
