From 67c2afb02e324e5594244c59952e54e5604f18e2 Mon Sep 17 00:00:00 2001 From: Sander Jochems Date: Thu, 28 Oct 2021 14:45:28 +0200 Subject: [PATCH] Relocate Files --- .../{PathFinding => Path}/BreadthFirstPathFinder.cs | 2 +- .../{PathFinding => Path}/Data/DijkstraEdge.cs | 2 +- .../{PathFinding => Path}/Data/DijkstraGraph.cs | 2 +- .../{PathFinding => Path}/Data/DijkstraNode.cs | 5 ++--- .../{PathFinding => Path}/DijkstraPathFinder.cs | 4 ++-- .../{PathFinding => Path}/PathFinder.cs | 2 +- src/Avans.FlatGalaxy.Simulation/Simulator.cs | 2 +- 7 files changed, 9 insertions(+), 10 deletions(-) rename src/Avans.FlatGalaxy.Simulation/{PathFinding => Path}/BreadthFirstPathFinder.cs (95%) rename src/Avans.FlatGalaxy.Simulation/{PathFinding => Path}/Data/DijkstraEdge.cs (82%) rename src/Avans.FlatGalaxy.Simulation/{PathFinding => Path}/Data/DijkstraGraph.cs (92%) rename src/Avans.FlatGalaxy.Simulation/{PathFinding => Path}/Data/DijkstraNode.cs (81%) rename src/Avans.FlatGalaxy.Simulation/{PathFinding => Path}/DijkstraPathFinder.cs (94%) rename src/Avans.FlatGalaxy.Simulation/{PathFinding => Path}/PathFinder.cs (92%) diff --git a/src/Avans.FlatGalaxy.Simulation/PathFinding/BreadthFirstPathFinder.cs b/src/Avans.FlatGalaxy.Simulation/Path/BreadthFirstPathFinder.cs similarity index 95% rename from src/Avans.FlatGalaxy.Simulation/PathFinding/BreadthFirstPathFinder.cs rename to src/Avans.FlatGalaxy.Simulation/Path/BreadthFirstPathFinder.cs index 684b4e6..48e2e4a 100644 --- a/src/Avans.FlatGalaxy.Simulation/PathFinding/BreadthFirstPathFinder.cs +++ b/src/Avans.FlatGalaxy.Simulation/Path/BreadthFirstPathFinder.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using Avans.FlatGalaxy.Models.CelestialBodies; -namespace Avans.FlatGalaxy.Simulation.PathFinding +namespace Avans.FlatGalaxy.Simulation.Path { public class BreadthFirstPathFinder : PathFinder { diff --git a/src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraEdge.cs b/src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraEdge.cs similarity index 82% rename from src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraEdge.cs rename to src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraEdge.cs index b151e77..6be95cc 100644 --- a/src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraEdge.cs +++ b/src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraEdge.cs @@ -1,4 +1,4 @@ -namespace Avans.FlatGalaxy.Simulation.PathFinding.Data +namespace Avans.FlatGalaxy.Simulation.Path.Data { public class DijkstraEdge { diff --git a/src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraGraph.cs b/src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraGraph.cs similarity index 92% rename from src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraGraph.cs rename to src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraGraph.cs index 45788d2..03eb464 100644 --- a/src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraGraph.cs +++ b/src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraGraph.cs @@ -2,7 +2,7 @@ using System.Linq; using Avans.FlatGalaxy.Models.CelestialBodies; -namespace Avans.FlatGalaxy.Simulation.PathFinding.Data +namespace Avans.FlatGalaxy.Simulation.Path.Data { public class DijkstraGraph { diff --git a/src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraNode.cs b/src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraNode.cs similarity index 81% rename from src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraNode.cs rename to src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraNode.cs index 7fa13a1..8abf33c 100644 --- a/src/Avans.FlatGalaxy.Simulation/PathFinding/Data/DijkstraNode.cs +++ b/src/Avans.FlatGalaxy.Simulation/Path/Data/DijkstraNode.cs @@ -1,8 +1,7 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using Avans.FlatGalaxy.Models.CelestialBodies; -namespace Avans.FlatGalaxy.Simulation.PathFinding.Data +namespace Avans.FlatGalaxy.Simulation.Path.Data { public class DijkstraNode { diff --git a/src/Avans.FlatGalaxy.Simulation/PathFinding/DijkstraPathFinder.cs b/src/Avans.FlatGalaxy.Simulation/Path/DijkstraPathFinder.cs similarity index 94% rename from src/Avans.FlatGalaxy.Simulation/PathFinding/DijkstraPathFinder.cs rename to src/Avans.FlatGalaxy.Simulation/Path/DijkstraPathFinder.cs index 7fc635c..cd7fea5 100644 --- a/src/Avans.FlatGalaxy.Simulation/PathFinding/DijkstraPathFinder.cs +++ b/src/Avans.FlatGalaxy.Simulation/Path/DijkstraPathFinder.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.Linq; using Avans.FlatGalaxy.Models.CelestialBodies; -using Avans.FlatGalaxy.Simulation.PathFinding.Data; +using Avans.FlatGalaxy.Simulation.Path.Data; -namespace Avans.FlatGalaxy.Simulation.PathFinding +namespace Avans.FlatGalaxy.Simulation.Path { public class DijkstraPathFinder : PathFinder { diff --git a/src/Avans.FlatGalaxy.Simulation/PathFinding/PathFinder.cs b/src/Avans.FlatGalaxy.Simulation/Path/PathFinder.cs similarity index 92% rename from src/Avans.FlatGalaxy.Simulation/PathFinding/PathFinder.cs rename to src/Avans.FlatGalaxy.Simulation/Path/PathFinder.cs index 142563d..08d8ca4 100644 --- a/src/Avans.FlatGalaxy.Simulation/PathFinding/PathFinder.cs +++ b/src/Avans.FlatGalaxy.Simulation/Path/PathFinder.cs @@ -2,7 +2,7 @@ using System.Linq; using Avans.FlatGalaxy.Models.CelestialBodies; -namespace Avans.FlatGalaxy.Simulation.PathFinding +namespace Avans.FlatGalaxy.Simulation.Path { public abstract class PathFinder { diff --git a/src/Avans.FlatGalaxy.Simulation/Simulator.cs b/src/Avans.FlatGalaxy.Simulation/Simulator.cs index 73daa99..6b9381b 100644 --- a/src/Avans.FlatGalaxy.Simulation/Simulator.cs +++ b/src/Avans.FlatGalaxy.Simulation/Simulator.cs @@ -8,11 +8,11 @@ using Avans.FlatGalaxy.Models.CelestialBodies; using Avans.FlatGalaxy.Simulation.Collision; using Avans.FlatGalaxy.Simulation.Data; -using Avans.FlatGalaxy.Simulation.PathFinding; using Avans.FlatGalaxy.Models.CelestialBodies.States; using Avans.FlatGalaxy.Simulation.Bookmark; using Avans.FlatGalaxy.Simulation.Bookmark.Common; using Avans.FlatGalaxy.Simulation.Extensions; +using Avans.FlatGalaxy.Simulation.Path; namespace Avans.FlatGalaxy.Simulation {