summaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2016-12-29 18:50:34 +0100
committerjbion <joffrey.bion@amadeus.com>2016-12-29 18:50:34 +0100
commit6077d9a54f6fc64345315d7c28a8f53b0921a733 (patch)
tree64ee39c3f449477f7f71b5453cea49b675bee624 /src/main/java/org
parentAdd player reordering support in Lobby (diff)
downloadseven-wonders-6077d9a54f6fc64345315d7c28a8f53b0921a733.tar.gz
seven-wonders-6077d9a54f6fc64345315d7c28a8f53b0921a733.tar.bz2
seven-wonders-6077d9a54f6fc64345315d7c28a8f53b0921a733.zip
Add test for Board.removeGold
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/boards/Board.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/boards/Board.java b/src/main/java/org/luxons/sevenwonders/game/boards/Board.java
index e8afecd5..d6cfd8e1 100644
--- a/src/main/java/org/luxons/sevenwonders/game/boards/Board.java
+++ b/src/main/java/org/luxons/sevenwonders/game/boards/Board.java
@@ -97,7 +97,7 @@ public class Board {
return military;
}
- private static class InsufficientFundsException extends RuntimeException {
+ static class InsufficientFundsException extends RuntimeException {
InsufficientFundsException(int current, int required) {
super(String.format("Current balance is %d gold, but %d are required", current, required));
}
bgstack15