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/Simulation.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/ch/epfl/maze/simulation/Simulation.java') diff --git a/src/ch/epfl/maze/simulation/Simulation.java b/src/ch/epfl/maze/simulation/Simulation.java index ab2fb84..d373d2f 100644 --- a/src/ch/epfl/maze/simulation/Simulation.java +++ b/src/ch/epfl/maze/simulation/Simulation.java @@ -11,7 +11,6 @@ import java.util.Map; * The {@code Simulation} interface defines a set of rules that must be * fulfilled in order to be displayed. */ - public interface Simulation { /** @@ -21,7 +20,6 @@ public interface Simulation { * @param listener The listener to which the function will notify the changes * (can be null) */ - public void move(Animation listener); /** @@ -29,7 +27,6 @@ public interface Simulation { * * @return true if no more moves can be made, false otherwise */ - public boolean isOver(); /** @@ -37,7 +34,6 @@ public interface Simulation { * * @return The {@code World} that is being simulated */ - public World getWorld(); /** @@ -45,7 +41,6 @@ public interface Simulation { * * @return The current step counter */ - public int getSteps(); /** @@ -55,7 +50,6 @@ public interface Simulation { * @return Map of steps done by animals which have accomplished the * simulation */ - public Map> getArrivalTimes(); /** @@ -65,18 +59,16 @@ public interface Simulation { * @return A {@code String} containing the top 10 animals which have * accomplished the simulation */ - public String getRecordTable(); /** * Restarts the simulation from the beginning. */ - public void restart(); /** * Stops abruptly the simulation. */ - public void stop(); + } -- cgit v1.2.3