merge the new developmentbranch into the test branch #39

Closed
j23f0712 wants to merge 431 commits from development2 into dev/test
Showing only changes of commit 876c238db3 - Show all commits

View File

@@ -62,9 +62,10 @@ public Color next(Game game) {
int current = game.getActiveColor().ordinal();
int next = current + 1;
int next = (current + 1) % 4;
while (!colorsInGame.contains(Color.values()[next])) {
next++;
next %= 4;
}
return Color.values()[next];