diff options
author | Timothée Floure | 2016-05-08 14:14:34 +0200 |
---|---|---|
committer | Timothée Floure | 2016-05-08 14:14:34 +0200 |
commit | e2f344f4ff6683239dc78dc241b099570180864a (patch) | |
tree | d0c49b68d2fcc66cffe99fbaaeabe3b0929c703e /src/ch/epfl | |
parent | b5b09a7130b9f7e50c540ab99e298a676ecfbe29 (diff) | |
download | xblast-e2f344f4ff6683239dc78dc241b099570180864a.tar.gz |
Rewrite few comments in client.GameState (minor)
Diffstat (limited to 'src/ch/epfl')
-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; |