blob: 0a72c707cd7189d9f7380c05ac9330567d264f05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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);
}
}
}
|