From 0f3c49b7743f7c7fabf41fdf4cb3ffe1a4ac3bf4 Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 10 Nov 2025 12:56:00 -0300 Subject: Placar. --- scripts/GUI/LeaderboardItem.cs | 41 ++++++++++++++++++++++++++++++++++++++ scripts/GUI/LeaderboardItem.cs.uid | 1 + scripts/GUI/MainMenu.cs | 12 +++++++++++ scripts/GameManager.cs | 8 ++++++++ 4 files changed, 62 insertions(+) create mode 100644 scripts/GUI/LeaderboardItem.cs create mode 100644 scripts/GUI/LeaderboardItem.cs.uid (limited to 'scripts') diff --git a/scripts/GUI/LeaderboardItem.cs b/scripts/GUI/LeaderboardItem.cs new file mode 100644 index 0000000..c05bf58 --- /dev/null +++ b/scripts/GUI/LeaderboardItem.cs @@ -0,0 +1,41 @@ +using Godot; + +namespace TheLegendOfGustav.GUI; + +public partial class LeaderboardItem : HBoxContainer +{ + [Export] + public string PlayerName { get; set; } = "Jogador"; + [Export] + public string Floor { get; set; } = "Andar Máximo"; + [Export] + public string Kills { get; set; } = "Inimigos Mortos"; + [Export] + public string Damage { get; set; } = "Dano tomado"; + + private Label nameLabel; + private Label floorLabel; + private Label killsLabel; + private Label damageLabel; + + + // Called when the node enters the scene tree for the first time. + public override void _Ready() + { + nameLabel = GetNode