From 22ad86319d1f2ad040678f90c4cf619f1bb41feb Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 24 Jun 2023 16:59:40 +0200 Subject: [PATCH] Animated the gold count label. --- scenes/Game.cs | 12 +++++++++--- scenes/Game.tscn | 22 +++++++++++++++++++++- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/scenes/Game.cs b/scenes/Game.cs index bdee30b..e07e217 100644 --- a/scenes/Game.cs +++ b/scenes/Game.cs @@ -17,7 +17,7 @@ public class Game : Spatial private TextureRect _worldTextureRect; private TextureRect _heightTextureRect; private Button _generateWorldButton; - private Control _gameUI; + private Control _gameUi; private Label _goldCountLabel; // scene nodes @@ -62,8 +62,8 @@ public class Game : Spatial _worldTextureRect = worldGeneratorContainer.GetNode("WorldTextureRect"); _heightTextureRect = worldGeneratorContainer.GetNode("HeightTextureRect"); _generateWorldButton = worldGeneratorContainer.GetNode