From 90efeec3c6ef6cbf4d56399e1cb3e7ec4144f86c Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 15 Mar 2016 15:00:04 +0100 Subject: Fix non-static enum constants --- src/ch/epfl/xblast/server/Bonus.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { /** * Maximum number of bombs. */ - private final int BOMBS_LIMIT = 9; + private static final int BOMBS_LIMIT = 9; /** * Maximum range of a bomb. */ - private final int RANGE_LIMIT = 9; + private static final int RANGE_LIMIT = 9; /** * Apply the bonus to the given player. -- cgit v1.2.3