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/Game.cs | |
| parent | 5958d9c071915ab71aea5a5c08d79e88024f6c58 (diff) | |
Magicas
Diffstat (limited to 'scripts/Game.cs')
| -rw-r--r-- | scripts/Game.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Game.cs b/scripts/Game.cs index ff10eea..5c1b634 100644 --- a/scripts/Game.cs +++ b/scripts/Game.cs @@ -47,6 +47,7 @@ public partial class Game : Node Camera2D camera = GetNode<Camera2D>("Camera2D"); RemoveChild(camera); player.HealthChanged += (int hp, int maxHp) => hud.OnHealthChanged(hp, maxHp); + player.ManaChanged += hud.OnManaChanged; player.Died += () => InputHandler.SetInputHandler(InputHandlers.GameOver); player.AddChild(camera); |
