diff options
Diffstat (limited to 'Scripts/Texty.cs')
| -rw-r--r-- | Scripts/Texty.cs | 30 |
1 files changed, 0 insertions, 30 deletions
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<Game>(nameof(Game)); - StartMenu = GetNode<StartMenu>(nameof(StartMenu)); - } - - public void OnQuitGame() - { - GetTree().Notification(MainLoop.NotificationWmQuitRequest); - } - - public void OnStartGame() - { - StartMenu.Visible = false; - Game.Visible = true; - } - - } -} - |
