Tested and implemented scoring
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@272 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
e3b5a0790d
commit
157bd4f606
8 changed files with 283 additions and 29 deletions
|
@ -104,4 +104,13 @@ public class MockRoundState implements IRoundState {
|
|||
}
|
||||
activePlayer = j;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IPlayer getNthPlayer(int i) {
|
||||
int j = i % players.size();
|
||||
if (j < 0) {
|
||||
j += players.size();
|
||||
}
|
||||
return players.get(j);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue