now it's actually playable
This commit is contained in:
parent
5496914c2a
commit
b5439da5a0
13 changed files with 84 additions and 26 deletions
|
@ -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.";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue