summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/main/Program.java
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-24 11:11:17 +0100
committerPacien TRAN-GIRARD2015-11-24 11:11:17 +0100
commitbc477506342411e9156b3230d847cb92bcb8e5f9 (patch)
treed952a5d14dccef38bfba3f8e27bfe10ea65d446a /src/ch/epfl/maze/main/Program.java
parent903553fe9e03e4af75eb7f8547e08b480bc58ec4 (diff)
downloadmaze-solver-bc477506342411e9156b3230d847cb92bcb8e5f9.tar.gz
Reformat code
Diffstat (limited to 'src/ch/epfl/maze/main/Program.java')
-rw-r--r--src/ch/epfl/maze/main/Program.java5
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
21public class Program { 20public 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}