GameState ist jetzt RoundState
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@249 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
d0a7014577
commit
b3c903a2ad
7 changed files with 19 additions and 19 deletions
|
@ -20,7 +20,7 @@ import java.util.Set;
|
|||
import jrummikub.model.Hand;
|
||||
import jrummikub.model.IHand;
|
||||
import jrummikub.model.ITable;
|
||||
import jrummikub.model.MockGameState;
|
||||
import jrummikub.model.MockRoundState;
|
||||
import jrummikub.model.MockTable;
|
||||
import jrummikub.model.Position;
|
||||
import jrummikub.model.Stone;
|
||||
|
@ -37,7 +37,7 @@ import org.junit.Test;
|
|||
*/
|
||||
public class RoundControlTest {
|
||||
private MockView view;
|
||||
private MockGameState testGameState;
|
||||
private MockRoundState testGameState;
|
||||
private RoundControl testRound;
|
||||
private MockTable newTable;
|
||||
|
||||
|
@ -47,7 +47,7 @@ public class RoundControlTest {
|
|||
@Before
|
||||
public void setup() {
|
||||
view = new MockView();
|
||||
testGameState = new MockGameState();
|
||||
testGameState = new MockRoundState();
|
||||
testRound = new RoundControl(testGameState, view);
|
||||
Stone stone = testGameState.getGameHeap().drawStone();
|
||||
testGameState.table.drop(new StoneSet(stone), new Position(5, 0));
|
||||
|
|
Reference in a new issue