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:
Jannis Harder 2011-05-25 15:51:34 +02:00
parent e3b5a0790d
commit 157bd4f606
8 changed files with 283 additions and 29 deletions

View file

@ -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);
}
}