Added exploration node to DSL and worked on vertical pathfinding (Closed gates blocked horizontal movement as well)

This commit is contained in:
=
2026-05-02 21:53:31 +02:00
parent 7f13505759
commit f3c551e792
12 changed files with 169 additions and 16 deletions
+6 -4
View File
@@ -13,13 +13,15 @@ public partial class Map : PanelContainer
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
ShowMap(true);
}
public void ShowMap()
public void ShowMap(bool isUpdate)
{
Visible = !Visible;
if (!isUpdate)
{
Visible = !Visible;
}
if (!Visible) return;
foreach (Node node in grid.GetChildren())
{