diff options
author | Joffrey Bion <joffrey.bion@amadeus.com> | 2018-04-24 10:51:02 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@amadeus.com> | 2018-04-24 10:51:02 +0200 |
commit | eb9f60d288516f2b5f8141a264053e975b832a9f (patch) | |
tree | ecac81cfe3b368a31f5b2da544a3291df137463e /game-engine/src/main/java | |
parent | Extract inner class to work around coverage bug (diff) | |
download | seven-wonders-eb9f60d288516f2b5f8141a264053e975b832a9f.tar.gz seven-wonders-eb9f60d288516f2b5f8141a264053e975b832a9f.tar.bz2 seven-wonders-eb9f60d288516f2b5f8141a264053e975b832a9f.zip |
Add test for BuildWonderMove
Diffstat (limited to 'game-engine/src/main/java')
-rw-r--r-- | game-engine/src/main/java/org/luxons/sevenwonders/game/moves/Move.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/game-engine/src/main/java/org/luxons/sevenwonders/game/moves/Move.java b/game-engine/src/main/java/org/luxons/sevenwonders/game/moves/Move.java index 40c61eea..230b9ef1 100644 --- a/game-engine/src/main/java/org/luxons/sevenwonders/game/moves/Move.java +++ b/game-engine/src/main/java/org/luxons/sevenwonders/game/moves/Move.java @@ -1,6 +1,5 @@ package org.luxons.sevenwonders.game.moves; -import java.util.ArrayList; import java.util.List; import org.luxons.sevenwonders.game.Settings; @@ -17,7 +16,7 @@ public abstract class Move { private MoveType type; - private List<BoughtResources> boughtResources = new ArrayList<>(); + private List<BoughtResources> boughtResources; Move(int playerIndex, Card card, PlayerMove move) { this.playerIndex = playerIndex; |