summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/Game.java2
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/api/Table.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/Game.java b/src/main/java/org/luxons/sevenwonders/game/Game.java
index 50481103..1f7a13c2 100644
--- a/src/main/java/org/luxons/sevenwonders/game/Game.java
+++ b/src/main/java/org/luxons/sevenwonders/game/Game.java
@@ -180,7 +180,7 @@ public class Game {
table.activateCurrentWonderStage(move.getPlayerIndex(), move.getBoughtResources());
break;
case DISCARD:
- table.discard(move.getPlayerIndex(), settings.getDiscardedCardGold());
+ table.giveGoldForDiscarded(move.getPlayerIndex(), settings.getDiscardedCardGold());
break;
}
}
diff --git a/src/main/java/org/luxons/sevenwonders/game/api/Table.java b/src/main/java/org/luxons/sevenwonders/game/api/Table.java
index 686b7ea5..518f20c6 100644
--- a/src/main/java/org/luxons/sevenwonders/game/api/Table.java
+++ b/src/main/java/org/luxons/sevenwonders/game/api/Table.java
@@ -68,7 +68,7 @@ public class Table {
board.getWonder().activateLastBuiltStage(this, playerIndex, boughtResources);
}
- public void discard(int playerIndex, int goldBonus) {
+ public void giveGoldForDiscarded(int playerIndex, int goldBonus) {
Board board = boards.get(playerIndex);
board.setGold(board.getGold() + goldBonus);
}
bgstack15