diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-05-27 23:02:33 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-05-27 23:02:33 +0200 |
| commit | 98776908265c4b4d6e6a3a41df0f8e534b44e406 (patch) | |
| tree | a545b4b3bcb487340a4689e7392ef1fa55fd2eb8 /Scripts/StartMenu.cs | |
| parent | d1118dc7d1b2fbb5efd67f06cef5a1fee392ba00 (diff) | |
| download | texty-98776908265c4b4d6e6a3a41df0f8e534b44e406.tar.xz texty-98776908265c4b4d6e6a3a41df0f8e534b44e406.zip | |
ide: format code
Diffstat (limited to 'Scripts/StartMenu.cs')
| -rw-r--r-- | Scripts/StartMenu.cs | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Scripts/StartMenu.cs b/Scripts/StartMenu.cs index 8efa22d..70b84b2 100644 --- a/Scripts/StartMenu.cs +++ b/Scripts/StartMenu.cs @@ -8,14 +8,12 @@ namespace Texty.Scripts public Button QuitButton; public Button StartButton; - public override void _Ready() - { - var buttons = FindNode("Buttons"); - CreditsButton = buttons.GetNode<Button>(nameof(CreditsButton)); - QuitButton = buttons.GetNode<Button>(nameof(QuitButton)); - StartButton = buttons.GetNode<Button>(nameof(StartButton)); - } - - } -} - + public override void _Ready() + { + var buttons = FindNode("Buttons"); + CreditsButton = buttons.GetNode<Button>(nameof(CreditsButton)); + QuitButton = buttons.GetNode<Button>(nameof(QuitButton)); + StartButton = buttons.GetNode<Button>(nameof(StartButton)); + } + } +}
\ No newline at end of file |
