Added renaming to the robots onclick.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user