From bc477506342411e9156b3230d847cb92bcb8e5f9 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 24 Nov 2015 11:11:17 +0100 Subject: Reformat code --- src/ch/epfl/maze/simulation/MazeSimulation.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ch/epfl/maze/simulation/MazeSimulation.java') diff --git a/src/ch/epfl/maze/simulation/MazeSimulation.java b/src/ch/epfl/maze/simulation/MazeSimulation.java index 3fd0e52..2108f54 100644 --- a/src/ch/epfl/maze/simulation/MazeSimulation.java +++ b/src/ch/epfl/maze/simulation/MazeSimulation.java @@ -18,7 +18,6 @@ import java.util.TreeMap; * the animation by notifying the changes to it. The simulation finishes when * every animal has found the exit. */ - public final class MazeSimulation implements Simulation { /* limit to the step counter, over which the animals are considered lost */ @@ -34,7 +33,6 @@ public final class MazeSimulation implements Simulation { * * @param maze The maze to simulate */ - public MazeSimulation(Maze maze) { mMaze = maze; mArrivalTimes = new TreeMap>(); @@ -140,7 +138,6 @@ public final class MazeSimulation implements Simulation { * @param listener The listener to which the function will notify the changes * (can be null) */ - private void moveAnimals(Animation listener) { List animals = mMaze.getAnimals(); for (int i = 0; i < animals.size(); i++) { @@ -205,4 +202,5 @@ public final class MazeSimulation implements Simulation { } } } + } -- cgit v1.2.3