Fix network mode
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@521 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
2f08091b65
commit
0b1151e6af
5 changed files with 117 additions and 6 deletions
|
@ -44,6 +44,10 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
/** */
|
||||
public MockEvent2<IRoundState, InvalidTurnInfo> turnEndEvent = new MockEvent2<IRoundState, InvalidTurnInfo>();
|
||||
/** */
|
||||
public MockEvent1<IRoundState> roundStateUpdateEvent = new MockEvent1<IRoundState>();
|
||||
/** */
|
||||
public MockEvent nextPlayerEvent = new MockEvent();
|
||||
/** */
|
||||
public MockEvent turnStartEvent = new MockEvent();
|
||||
/** */
|
||||
public GameData currentGame;
|
||||
|
@ -147,6 +151,16 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
return turnStartEvent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEvent1<IRoundState> getRoundStateUpdateEvent() {
|
||||
return roundStateUpdateEvent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEvent getNextPlayerEvent() {
|
||||
return nextPlayerEvent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void offerGame(GameData data) {
|
||||
offeredGame = data;
|
||||
|
@ -217,4 +231,16 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateRoundState(IRoundState roundState) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void nextPlayer() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue