diff options
Diffstat (limited to 'src/main/java/org/luxons')
3 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/effects/GoldIncrease.java b/src/main/java/org/luxons/sevenwonders/game/effects/GoldIncrease.java index 8e11073e..c2250d23 100644 --- a/src/main/java/org/luxons/sevenwonders/game/effects/GoldIncrease.java +++ b/src/main/java/org/luxons/sevenwonders/game/effects/GoldIncrease.java @@ -4,13 +4,13 @@ import org.luxons.sevenwonders.game.boards.Board; public class GoldIncrease extends InstantEffect { - private int amount; + private final int amount; public int getAmount() { return amount; } - public void setAmount(int amount) { + public GoldIncrease(int amount) { this.amount = amount; } diff --git a/src/main/java/org/luxons/sevenwonders/game/effects/MilitaryReinforcements.java b/src/main/java/org/luxons/sevenwonders/game/effects/MilitaryReinforcements.java index 53569866..7cfa4905 100644 --- a/src/main/java/org/luxons/sevenwonders/game/effects/MilitaryReinforcements.java +++ b/src/main/java/org/luxons/sevenwonders/game/effects/MilitaryReinforcements.java @@ -4,13 +4,13 @@ import org.luxons.sevenwonders.game.boards.Board; public class MilitaryReinforcements extends InstantEffect { - private int count; + private final int count; public int getCount() { return count; } - public void setCount(int count) { + public MilitaryReinforcements(int count) { this.count = count; } diff --git a/src/main/java/org/luxons/sevenwonders/game/effects/RawPointsIncrease.java b/src/main/java/org/luxons/sevenwonders/game/effects/RawPointsIncrease.java index 4238e891..53fcecd4 100644 --- a/src/main/java/org/luxons/sevenwonders/game/effects/RawPointsIncrease.java +++ b/src/main/java/org/luxons/sevenwonders/game/effects/RawPointsIncrease.java @@ -4,13 +4,13 @@ import org.luxons.sevenwonders.game.boards.Board; public class RawPointsIncrease extends EndGameEffect { - private int points; + private final int points; public int getPoints() { return points; } - public void setPoints(int points) { + public RawPointsIncrease(int points) { this.points = points; } |