Added exploration node to DSL and worked on vertical pathfinding (Closed gates blocked horizontal movement as well)
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user