diff options
author | Pacien TRAN-GIRARD | 2016-02-22 14:35:21 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-02-22 14:35:21 +0100 |
commit | d343ce4619f25610957573ab1e9d3618b3f606a3 (patch) | |
tree | 500947094cbd8536d8473055cc5ef61a6f733c71 /src/ch/epfl | |
parent | cabd0bd13781c85df2bcbc3f9cb6d9270800127c (diff) | |
download | xblast-d343ce4619f25610957573ab1e9d3618b3f606a3.tar.gz |
Add missing documentation on enum constants
Diffstat (limited to 'src/ch/epfl')
-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. |