diff options
Diffstat (limited to 'scripts/InputHandling/InputHandler.cs')
| -rw-r--r-- | scripts/InputHandling/InputHandler.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/InputHandling/InputHandler.cs b/scripts/InputHandling/InputHandler.cs index a1e9b03..ce265a1 100644 --- a/scripts/InputHandling/InputHandler.cs +++ b/scripts/InputHandling/InputHandler.cs @@ -13,7 +13,8 @@ public enum InputHandlers Inspect, Pickup, Inventory, - CastSpell + CastSpell, + SpellMenu } /// <summary> @@ -43,6 +44,8 @@ public partial class InputHandler : Node InputHandlerDict.Add(InputHandlers.Inventory, GetNode<InventoryInputHandler>("InventoryInputHandler")); // Controles para quando o jogador precisar escolher um alvo de feitiço. InputHandlerDict.Add(InputHandlers.CastSpell, GetNode<CastSpellInputHandler>("CastSpellInputHandler")); + // Controles para quando o menu de feitiços for aberto. + InputHandlerDict.Add(InputHandlers.SpellMenu, GetNode<SpellMenuInputHandler>("SpellMenuInputHandler")); SetInputHandler(StartingInputHandler); |
