Refactor UI components to inherit from Control and update node paths for consistency

This commit is contained in:
2025-08-26 16:20:01 +02:00
parent 1d4948e5b4
commit ca0d21e40a
84 changed files with 767 additions and 884 deletions

View File

@@ -14,7 +14,8 @@ public partial class GameManager : Node
public PlayerController Player { get; set; }
private List<Node> _sceneNodes = new();
[Export]
public Dictionary PlayerState { get; set; } = new()
{
{ "coins", 0 },
@@ -24,7 +25,8 @@ public partial class GameManager : Node
{ "unlocked_levels", new Array<int>() {0}},
{ "unlocked_skills", new Array<SkillData>() }
};
[Export]
public Dictionary CurrentSessionState { get; private set; } = new()
{
{ "coins_collected", 0 },