This commit is contained in:
Simon O'Shea
2023-08-08 20:09:13 -04:00
4 changed files with 196 additions and 3 deletions
@@ -10,6 +10,8 @@ public class nMain : MonoBehaviour
private LogicGrid world;
int placementValue;
public float speed = 3.0f;
int algorithm;
bool astarSelected;
bool bfsSelected;
@@ -154,7 +156,11 @@ public class nMain : MonoBehaviour
}
public void AdjustSpeed(float newSpeed)
{
speed = newSpeed;
Debug.Log(speed);
}
public void AstarToggle(bool tickOn)
{