diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2016-12-07 23:36:33 +0100 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2016-12-08 02:11:15 +0100 |
commit | 066e4159dc4aadf63eb4d3b8c61da1f85158020b (patch) | |
tree | 6a9ae6575b58e444278601679bb3329d955deebf /src/test | |
parent | First draft of the game engine: boards, card effects, costs (diff) | |
download | seven-wonders-066e4159dc4aadf63eb4d3b8c61da1f85158020b.tar.gz seven-wonders-066e4159dc4aadf63eb4d3b8c61da1f85158020b.tar.bz2 seven-wonders-066e4159dc4aadf63eb4d3b8c61da1f85158020b.zip |
Add game data loading skeleton
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java | 6 | ||||
-rw-r--r-- | src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java b/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java index db11c466..db4eb049 100644 --- a/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java +++ b/src/test/java/org/luxons/sevenwonders/game/cards/CardTest.java @@ -24,9 +24,9 @@ public class CardTest { @Before public void initBoard() { Settings settings = new Settings(); - board = new Board(new Wonder(ResourceType.WOOD), settings); - leftBoard = new Board(new Wonder(ResourceType.STONE), settings); - rightBoard = new Board(new Wonder(ResourceType.PAPYRUS), settings); + board = new Board(new Wonder("TestWonder", ResourceType.WOOD), settings); + leftBoard = new Board(new Wonder("TestWonder", ResourceType.STONE), settings); + rightBoard = new Board(new Wonder("TestWonder", ResourceType.PAPYRUS), settings); Requirements treeFarmRequirements = new Requirements(); treeFarmRequirements.setGoldCost(1); diff --git a/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java b/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java index 51a7a192..25dfcf38 100644 --- a/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java +++ b/src/test/java/org/luxons/sevenwonders/game/effects/EffectTest.java @@ -32,9 +32,9 @@ public class EffectTest { Settings settings = new Settings(); settings.setInitialGold(INITIAL_GOLD); - board = new Board(new Wonder(ResourceType.WOOD), settings); - leftBoard = new Board(new Wonder(ResourceType.STONE), settings); - rightBoard = new Board(new Wonder(ResourceType.PAPYRUS), settings); + board = new Board(new Wonder("TestWonder", ResourceType.WOOD), settings); + leftBoard = new Board(new Wonder("TestWonder", ResourceType.STONE), settings); + rightBoard = new Board(new Wonder("TestWonder", ResourceType.PAPYRUS), settings); resources1Stone1Wood = new Resources(); resources1Stone1Wood.add(ResourceType.STONE, 1); |