diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-05-28 00:02:23 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-05-28 00:02:23 +0200 |
| commit | e104e418eba1f2c26d68a48d55937b820265c36e (patch) | |
| tree | 7bfe601f3d68500db28af18ed3fde4244a2a1508 /Scripts | |
| parent | 17e64ee8bd296cf003e5e71ff24a929b5974ad5b (diff) | |
| download | texty-e104e418eba1f2c26d68a48d55937b820265c36e.tar.xz texty-e104e418eba1f2c26d68a48d55937b820265c36e.zip | |
texty: handle start game signal
Diffstat (limited to 'Scripts')
| -rw-r--r-- | Scripts/Texty.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/Texty.cs b/Scripts/Texty.cs index 0a72c70..0101183 100644 --- a/Scripts/Texty.cs +++ b/Scripts/Texty.cs @@ -18,6 +18,12 @@ namespace Texty.Scripts { GetTree().Notification(MainLoop.NotificationWmQuitRequest); } + + public void OnStartGame() + { + StartMenu.Visible = false; + Game.Visible = true; + } } } |
