Make NetworkRoundControl test work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@496 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
890051a3e9
commit
9df5497276
6 changed files with 109 additions and 83 deletions
|
@ -53,6 +53,10 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
public GameData joinedGame;
|
||||
/** */
|
||||
public Color playerColor;
|
||||
/** */
|
||||
public boolean turnStarted;
|
||||
/** */
|
||||
public boolean turnEnded;
|
||||
|
||||
@Override
|
||||
public String getNickname() {
|
||||
|
@ -191,13 +195,11 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
|
||||
@Override
|
||||
public void endTurn(ITable table) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
turnEnded = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startTurn(IRoundState state) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
turnStarted = true;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue