Test für game join control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@478 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
f641b76bca
commit
4ddf87fc96
3 changed files with 86 additions and 3 deletions
|
@ -41,6 +41,8 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
public boolean failOnConnect;
|
||||
/** */
|
||||
public GameData joinedGame;
|
||||
/** */
|
||||
public Color playerColor;
|
||||
|
||||
@Override
|
||||
public String getNickname() {
|
||||
|
@ -142,7 +144,6 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
|
||||
@Override
|
||||
public void changeColor(Color color) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
playerColor = color;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue