diff options
author | Pacien TRAN-GIRARD | 2016-03-15 15:00:04 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-03-15 15:00:04 +0100 |
commit | 90efeec3c6ef6cbf4d56399e1cb3e7ec4144f86c (patch) | |
tree | 78b033c24223bf12ebc4dc48da7031eaa8321f84 /src/ch/epfl | |
parent | cd660d9d08a3c396afc3a9b7ba0e4b30cab26a54 (diff) | |
download | xblast-04_bonus_gamestate.tar.gz |
Fix non-static enum constants04_bonus_gamestate
Diffstat (limited to 'src/ch/epfl')
-rw-r--r-- | src/ch/epfl/xblast/server/Bonus.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ch/epfl/xblast/server/Bonus.java b/src/ch/epfl/xblast/server/Bonus.java index 80ca8a9..9bb47a2 100644 --- a/src/ch/epfl/xblast/server/Bonus.java +++ b/src/ch/epfl/xblast/server/Bonus.java | |||
@@ -37,12 +37,12 @@ public enum Bonus { | |||
37 | /** | 37 | /** |
38 | * Maximum number of bombs. | 38 | * Maximum number of bombs. |
39 | */ | 39 | */ |
40 | private final int BOMBS_LIMIT = 9; | 40 | private static final int BOMBS_LIMIT = 9; |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * Maximum range of a bomb. | 43 | * Maximum range of a bomb. |
44 | */ | 44 | */ |
45 | private final int RANGE_LIMIT = 9; | 45 | private static final int RANGE_LIMIT = 9; |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Apply the bonus to the given player. | 48 | * Apply the bonus to the given player. |