Added NetworkGameControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@503 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
e79295f271
commit
f3f8ffe462
22 changed files with 227 additions and 83 deletions
|
@ -37,6 +37,8 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
/** */
|
||||
public MockEvent gameStartEvent = new MockEvent();
|
||||
/** */
|
||||
public MockEvent roundStartEvent = new MockEvent();
|
||||
/** */
|
||||
public MockEvent1<ITable> tableUpdateEvent = new MockEvent1<ITable>();
|
||||
/** */
|
||||
public MockEvent1<ITable> turnEndEvent = new MockEvent1<ITable>();
|
||||
|
@ -124,6 +126,11 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
return gameStartEvent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEvent getRoundStartEvent() {
|
||||
return roundStartEvent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IEvent1<ITable> getTableUpdateEvent() {
|
||||
return tableUpdateEvent;
|
||||
|
@ -203,4 +210,10 @@ public class MockConnectionControl implements IConnectionControl {
|
|||
public void startTurn(IRoundState state) {
|
||||
turnStarted = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startRound() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue