Added game over

This commit is contained in:
Marco 2025-04-01 11:23:37 +02:00
commit 8151298b44
14 changed files with 160 additions and 35 deletions

View file

@ -218,5 +218,9 @@ public partial class GlobalState : Node
DisplayServer.CursorSetCustomImage(scaled);
}
public void RestartLevel()
{
GotoScene(CurrentScene.GetSceneFilePath());
}
}