summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2016-12-21 12:42:30 +0100
committerjbion <joffrey.bion@amadeus.com>2016-12-21 12:42:30 +0100
commitbdb667bfc31184ac352813a13645fdcb1629783e (patch)
treecf96c2c7e58d93252fe1b4806b35cbfd87d958dc /src/main
parentAdd test for Decks (diff)
downloadseven-wonders-bdb667bfc31184ac352813a13645fdcb1629783e.tar.gz
seven-wonders-bdb667bfc31184ac352813a13645fdcb1629783e.tar.bz2
seven-wonders-bdb667bfc31184ac352813a13645fdcb1629783e.zip
Fix wonder name assignment for test constructor
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/wonders/Wonder.java1
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);
}
bgstack15