Added main menu and basic functionality

This commit is contained in:
=
2026-04-26 16:55:35 +02:00
parent 21199f8026
commit d2c788c826
6 changed files with 119 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
using Godot;
using System;
public partial class MainMenu : Control
{
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
}
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
}
public void OnPlayPressed()
{
GetTree().ChangeSceneToFile("res://Scenes/Game.tscn");
}
public void OnQuitPressed()
{
GetTree().Quit();
}
}