Added renaming to the robots onclick.

This commit is contained in:
=
2026-04-28 14:37:12 +02:00
parent b926be307e
commit 4b460926c5
6 changed files with 103 additions and 7 deletions
+1
View File
@@ -75,6 +75,7 @@ public partial class World : Node3D
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
if (!canMove) return;
if (Input.IsActionJustPressed("layer_up") && currentLayer > 0) currentLayer--;
if (Input.IsActionJustPressed("layer_down") && currentLayer < ruinSize - 1) currentLayer++;
if (currentLayer != visibleLayer)