diff options
-rw-r--r-- | src/ch/epfl/xblast/client/GameState.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ch/epfl/xblast/client/GameState.java b/src/ch/epfl/xblast/client/GameState.java index 154a452..4906094 100644 --- a/src/ch/epfl/xblast/client/GameState.java +++ b/src/ch/epfl/xblast/client/GameState.java | |||
@@ -9,7 +9,10 @@ import java.util.List; | |||
9 | /** | 9 | /** |
10 | * @author Timothée FLOURE (257420) | 10 | * @author Timothée FLOURE (257420) |
11 | */ | 11 | */ |
12 | public class GameState { | 12 | public final class GameState { |
13 | /** | ||
14 | * GameState's parameters. | ||
15 | */ | ||
13 | private final List<Player> players; | 16 | private final List<Player> players; |
14 | private final List<Image> board; | 17 | private final List<Image> board; |
15 | private final List<Image> explosions; | 18 | private final List<Image> explosions; |
@@ -17,9 +20,12 @@ public class GameState { | |||
17 | private final List<Image> ticks; | 20 | private final List<Image> ticks; |
18 | 21 | ||
19 | /** | 22 | /** |
20 | * Player. | 23 | * A Player. |
21 | */ | 24 | */ |
22 | public static final class Player { | 25 | public static final class Player { |
26 | /** | ||
27 | * Player's parameters. | ||
28 | */ | ||
23 | private final PlayerID id; | 29 | private final PlayerID id; |
24 | private final int lives; | 30 | private final int lives; |
25 | private final SubCell position; | 31 | private final SubCell position; |