From 1e17a31e3eeed8ccf76982534002513cee6593f1 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 14 Sep 2025 10:41:08 -0300 Subject: Magicas --- scripts/Game.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/Game.cs') 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"); 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); -- cgit v1.2.3