summaryrefslogtreecommitdiff
path: root/Scripts/StartMenu.cs
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-05-27 23:02:33 +0200
committerSophia Pearson <codergal89@gmail.com>2022-05-27 23:02:33 +0200
commit98776908265c4b4d6e6a3a41df0f8e534b44e406 (patch)
treea545b4b3bcb487340a4689e7392ef1fa55fd2eb8 /Scripts/StartMenu.cs
parentd1118dc7d1b2fbb5efd67f06cef5a1fee392ba00 (diff)
downloadtexty-98776908265c4b4d6e6a3a41df0f8e534b44e406.tar.xz
texty-98776908265c4b4d6e6a3a41df0f8e534b44e406.zip
ide: format code
Diffstat (limited to 'Scripts/StartMenu.cs')
-rw-r--r--Scripts/StartMenu.cs20
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