Updated UI to add IDS search

This commit is contained in:
dereelatwit
2023-08-09 12:00:19 -04:00
parent 1b8fa5af0f
commit 8097fcb290
2 changed files with 7 additions and 7 deletions
@@ -15,7 +15,7 @@ public class nMain : MonoBehaviour
int heuristic;
int algorithm;
bool astarSelected;
bool bfsSelected;
bool idsSelected;
bool dfsSelected;
@@ -199,10 +199,10 @@ public class nMain : MonoBehaviour
Debug.Log(algorithm);
}
public void BFSToggle(bool tickOn)
public void IDSToggle(bool tickOn)
{
bfsSelected = tickOn;
Debug.Log(bfsSelected);
idsSelected = tickOn;
Debug.Log(idsSelected);
algorithm = 2;
Debug.Log(algorithm);