now it's actually playable

This commit is contained in:
Иван Кузьменко 2023-08-19 17:09:11 +03:00
parent 5496914c2a
commit b5439da5a0
13 changed files with 84 additions and 26 deletions

View file

@ -4,6 +4,7 @@ using System;
public partial class WinScreen : TextureRect
{
[Export] public GameManager Manager;
[Export] public Label TextLabel;
public override void _Ready()
{
@ -14,7 +15,7 @@ public partial class WinScreen : TextureRect
{
Visible = true;
((Label)FindChild("Label2")).Text =
TextLabel.Text =
$"It took you\n{Manager.GetAttempts()} attempts\nand {Manager.GetFormattedTimeElapsed()}\nto finish the game.";
}