diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-08 09:55:41 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-08 09:55:41 +0200 |
commit | d36414b05f1cc051652a8baad16c4d6e4c69bab2 (patch) | |
tree | d42a44d78e52e054e83d439d58465e802cc8dc99 /backend/src/test | |
parent | Add first draft of Game test (diff) | |
download | seven-wonders-d36414b05f1cc051652a8baad16c4d6e4c69bab2.tar.gz seven-wonders-d36414b05f1cc051652a8baad16c4d6e4c69bab2.tar.bz2 seven-wonders-d36414b05f1cc051652a8baad16c4d6e4c69bab2.zip |
Rename "prepare card" to "prepare move"
Some moves may not be related to preparing a card from the hand. For instance, picking a neighbouring Guild Card to copy is not what I would call "preparing a card".
Diffstat (limited to 'backend/src/test')
-rw-r--r-- | backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java b/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java index a7d10394..98247bb2 100644 --- a/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java +++ b/backend/src/test/java/org/luxons/sevenwonders/game/GameTest.java @@ -30,7 +30,7 @@ public class GameTest { assertEquals(1, turnInfo.getCurrentAge()); assertEquals(7, turnInfo.getHand().size()); PlayerMove move = getFirstAvailableMove(turnInfo); - game.prepareCard(turnInfo.getPlayerIndex(), move); + game.prepareMove(turnInfo.getPlayerIndex(), move); } } |