diff options
-rw-r--r-- | src/ch/epfl/xblast/Direction.java | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/Direction.java b/src/ch/epfl/xblast/Direction.java index ea0960d..cd4822e 100644 --- a/src/ch/epfl/xblast/Direction.java +++ b/src/ch/epfl/xblast/Direction.java | |||
@@ -7,7 +7,25 @@ package ch.epfl.xblast; | |||
7 | */ | 7 | */ |
8 | public enum Direction { | 8 | public enum Direction { |
9 | 9 | ||
10 | N, E, S, W; | 10 | /** |
11 | * North | ||
12 | */ | ||
13 | N, | ||
14 | |||
15 | /** | ||
16 | * East | ||
17 | */ | ||
18 | E, | ||
19 | |||
20 | /** | ||
21 | * South | ||
22 | */ | ||
23 | S, | ||
24 | |||
25 | /** | ||
26 | * West | ||
27 | */ | ||
28 | W; | ||
11 | 29 | ||
12 | /** | 30 | /** |
13 | * Returns the opposite Direction. | 31 | * Returns the opposite Direction. |