diff options
author | jbion <joffrey.bion@amadeus.com> | 2016-12-21 12:42:30 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2016-12-21 12:42:30 +0100 |
commit | bdb667bfc31184ac352813a13645fdcb1629783e (patch) | |
tree | cf96c2c7e58d93252fe1b4806b35cbfd87d958dc /src | |
parent | Add test for Decks (diff) | |
download | seven-wonders-bdb667bfc31184ac352813a13645fdcb1629783e.tar.gz seven-wonders-bdb667bfc31184ac352813a13645fdcb1629783e.tar.bz2 seven-wonders-bdb667bfc31184ac352813a13645fdcb1629783e.zip |
Fix wonder name assignment for test constructor
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/luxons/sevenwonders/game/wonders/Wonder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/wonders/Wonder.java b/src/main/java/org/luxons/sevenwonders/game/wonders/Wonder.java index 8896b4b7..b5698508 100644 --- a/src/main/java/org/luxons/sevenwonders/game/wonders/Wonder.java +++ b/src/main/java/org/luxons/sevenwonders/game/wonders/Wonder.java @@ -19,6 +19,7 @@ public class Wonder { } public Wonder(String name, ResourceType initialResource, WonderLevel... levels) { + this.name = name; this.initialResource = initialResource; this.levels = Arrays.asList(levels); } |