diff options
Diffstat (limited to 'src/ch/epfl/maze/main/Program.java')
-rw-r--r-- | src/ch/epfl/maze/main/Program.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ch/epfl/maze/main/Program.java b/src/ch/epfl/maze/main/Program.java index db43a68..043f7e5 100644 --- a/src/ch/epfl/maze/main/Program.java +++ b/src/ch/epfl/maze/main/Program.java | |||
@@ -17,7 +17,6 @@ import ch.epfl.maze.util.Vector2D; | |||
17 | /** | 17 | /** |
18 | * Mini-project main program that will run the simulations on a {@code Display}. | 18 | * Mini-project main program that will run the simulations on a {@code Display}. |
19 | */ | 19 | */ |
20 | |||
21 | public class Program { | 20 | public class Program { |
22 | 21 | ||
23 | /** | 22 | /** |
@@ -26,7 +25,6 @@ public class Program { | |||
26 | * @see #getMazeSimulation() | 25 | * @see #getMazeSimulation() |
27 | * @see #getDaedalusSimulation() | 26 | * @see #getDaedalusSimulation() |
28 | */ | 27 | */ |
29 | |||
30 | public static void main(String[] args) { | 28 | public static void main(String[] args) { |
31 | Simulation simulation; | 29 | Simulation simulation; |
32 | 30 | ||
@@ -42,7 +40,6 @@ public class Program { | |||
42 | * | 40 | * |
43 | * @return A {@code MazeSimulation} to display | 41 | * @return A {@code MazeSimulation} to display |
44 | */ | 42 | */ |
45 | |||
46 | public static Simulation getMazeSimulation() { | 43 | public static Simulation getMazeSimulation() { |
47 | int[][] labyrinth = LabyrinthGenerator.getMedium(); | 44 | int[][] labyrinth = LabyrinthGenerator.getMedium(); |
48 | Maze m = new Maze(labyrinth); | 45 | Maze m = new Maze(labyrinth); |
@@ -72,7 +69,6 @@ public class Program { | |||
72 | * | 69 | * |
73 | * @return A {@code DaedalusSimulation} to display | 70 | * @return A {@code DaedalusSimulation} to display |
74 | */ | 71 | */ |
75 | |||
76 | public static Simulation getDaedalusSimulation() { | 72 | public static Simulation getDaedalusSimulation() { |
77 | int[][] labyrinth = LabyrinthGenerator.getPacMan(); | 73 | int[][] labyrinth = LabyrinthGenerator.getPacMan(); |
78 | Daedalus d = new Daedalus(labyrinth); | 74 | Daedalus d = new Daedalus(labyrinth); |
@@ -97,4 +93,5 @@ public class Program { | |||
97 | 93 | ||
98 | return simulation; | 94 | return simulation; |
99 | } | 95 | } |
96 | |||
100 | } | 97 | } |