Adding robots to the game and the ability to click on them

This commit is contained in:
=
2026-04-26 13:44:15 +02:00
parent bd9de785b4
commit 21199f8026
12 changed files with 155 additions and 9 deletions
+19
View File
@@ -0,0 +1,19 @@
using Godot;
public partial class UIHandler : Control
{
public override void _Ready()
{
}
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
if (Input.IsActionJustPressed("codingwindow"))
{
GetNode<Panel>("./CodingWindow").Visible = !GetNode<Panel>("./CodingWindow").Visible;
}
}
}