using System; using Godot; using Godot.Collections; using TheLegendOfGustav.Utils; namespace TheLegendOfGustav.GUI; public partial class Leaderboard : Control { [Signal] public delegate void MenuRequestedEventHandler(); private static readonly PackedScene LeaderboardItemScene = GD.Load("res://scenes/GUI/leaderboard_item.tscn"); private VBoxContainer leaderboard; private Button BackButton; // Called when the node enters the scene tree for the first time. public override void _Ready() { leaderboard = GetNode("VBoxContainer/VBoxContainer"); BackButton = GetNode