diff options
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); |
