diff options
| author | Simon O'Shea <osheas1@wit.edu> | 2023-08-08 18:05:55 -0400 |
|---|---|---|
| committer | Simon O'Shea <osheas1@wit.edu> | 2023-08-08 18:05:55 -0400 |
| commit | 96a90a647dd33aa5ab40ff0b887df63cb1c27e66 (patch) | |
| tree | 4b67d52e22e906fc740bf261775abf366fff9f66 /Pathfinding Visualizer/Assets/Scripts/Main.cs | |
| parent | ddc02784c24baf22903527871233f9b4db6745ed (diff) | |
astar rewritten for c#
runs without screaming, don't have output yet though
Diffstat (limited to 'Pathfinding Visualizer/Assets/Scripts/Main.cs')
| -rw-r--r-- | Pathfinding Visualizer/Assets/Scripts/Main.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Pathfinding Visualizer/Assets/Scripts/Main.cs b/Pathfinding Visualizer/Assets/Scripts/Main.cs index 42866f0..bcf897a 100644 --- a/Pathfinding Visualizer/Assets/Scripts/Main.cs +++ b/Pathfinding Visualizer/Assets/Scripts/Main.cs @@ -146,8 +146,7 @@ public class Main : MonoBehaviour if ( true ) { - Pathfinder astar = new Pathfinder(world, agent, obstacles, samples, 0, 0); - astar.go(); + Pathfinder path = new Pathfinder(world, agent, obstacles, samples, 0, 0); } } |
