aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ch/epfl/xblast/PlayerAction.java14
-rw-r--r--test/ch/epfl/xblast/simulation/ConsoleSimulation.java (renamed from test/ch/epfl/xblast/simulation/RandomSimulation.java)2
2 files changed, 15 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/PlayerAction.java b/src/ch/epfl/xblast/PlayerAction.java
new file mode 100644
index 0000000..f4da746
--- /dev/null
+++ b/src/ch/epfl/xblast/PlayerAction.java
@@ -0,0 +1,14 @@
1package ch.epfl.xblast;
2
3/**
4 * @author Timothée FLOURE (257420)
5 */
6public enum PlayerAction {
7 JOIN_GAME,
8 MOVE_N,
9 MOVE_E,
10 MOVE_S,
11 MOVE_W,
12 STOP,
13 DROP_BOMB
14}
diff --git a/test/ch/epfl/xblast/simulation/RandomSimulation.java b/test/ch/epfl/xblast/simulation/ConsoleSimulation.java
index 3888650..35c0eb8 100644
--- a/test/ch/epfl/xblast/simulation/RandomSimulation.java
+++ b/test/ch/epfl/xblast/simulation/ConsoleSimulation.java
@@ -17,7 +17,7 @@ import java.util.List;
17 * 17 *
18 * @author Pacien TRAN-GIRARD (261948) 18 * @author Pacien TRAN-GIRARD (261948)
19 */ 19 */
20public class RandomSimulation { 20public class ConsoleSimulation {
21 21
22 private static final long DISPLAY_DELAY = 50; // in milliseconds 22 private static final long DISPLAY_DELAY = 50; // in milliseconds
23 23