diff options
| author | Simon O'Shea <osheas1@wit.edu> | 2023-08-07 13:59:44 -0400 |
|---|---|---|
| committer | Simon O'Shea <osheas1@wit.edu> | 2023-08-07 13:59:44 -0400 |
| commit | 7c3fd8d5630482d96dbbfbed2cd08c0d3530d5ad (patch) | |
| tree | 470579942ac20179c0112ddb03d05657b217fbab /Pathfinding Visualizer/Assets/Scripts/Main.cs | |
| parent | 94b8f55509cfea3706299abb7a909c9cd413ba80 (diff) | |
cells now change color based on value!!!
colors are a bit weird though, need to figure that out
Diffstat (limited to 'Pathfinding Visualizer/Assets/Scripts/Main.cs')
| -rw-r--r-- | Pathfinding Visualizer/Assets/Scripts/Main.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Pathfinding Visualizer/Assets/Scripts/Main.cs b/Pathfinding Visualizer/Assets/Scripts/Main.cs index 30f2671..cdc64db 100644 --- a/Pathfinding Visualizer/Assets/Scripts/Main.cs +++ b/Pathfinding Visualizer/Assets/Scripts/Main.cs @@ -38,21 +38,21 @@ public class Main : MonoBehaviour { Debug.Log("Placing Mode: Agent"); placementMode = 'a'; - placementValue = 2; + placementValue = 3; } // Place Sample in grid if(Input.GetKeyDown("s")) { Debug.Log("Placing Mode: Sample"); placementMode = 's'; - placementValue = 1; + placementValue = 2; } // Place Obstacle in grid if(Input.GetKeyDown("o")) { Debug.Log("Placing Mode: Obstacle"); placementMode = 'o'; - placementValue = -1; + placementValue = 1; } |
