From 645d1083fecf707a56b07c1fd52df4015885d9ce Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Sun, 4 Sep 2022 13:29:53 +0200 Subject: game: add StatusLine behavior --- Scripts/Texty.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 Scripts/Texty.cs (limited to 'Scripts/Texty.cs') diff --git a/Scripts/Texty.cs b/Scripts/Texty.cs deleted file mode 100644 index 0101183..0000000 --- a/Scripts/Texty.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Godot; - -namespace Texty.Scripts -{ - public class Texty : Node - { - - public Game Game; - public StartMenu StartMenu; - - public override void _Ready() - { - Game = GetNode(nameof(Game)); - StartMenu = GetNode(nameof(StartMenu)); - } - - public void OnQuitGame() - { - GetTree().Notification(MainLoop.NotificationWmQuitRequest); - } - - public void OnStartGame() - { - StartMenu.Visible = false; - Game.Visible = true; - } - - } -} - -- cgit v1.2.3