Use correct joker colors
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@310 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
794777c2fe
commit
f6a3409ed5
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@ public class StoneHeap {
|
||||||
|
|
||||||
ArrayList<StoneColor> jokerColors = new ArrayList<StoneColor>(Arrays.asList(StoneColor.values()));
|
ArrayList<StoneColor> jokerColors = new ArrayList<StoneColor>(Arrays.asList(StoneColor.values()));
|
||||||
|
|
||||||
StoneColor temp = jokerColors.get(0);
|
StoneColor temp = jokerColors.get(1);
|
||||||
jokerColors.set(0, jokerColors.get(2));
|
jokerColors.set(1, jokerColors.get(3));
|
||||||
jokerColors.set(2, temp);
|
jokerColors.set(3, temp);
|
||||||
|
|
||||||
int jokersLeft = gameSettings.getJokerNumber();
|
int jokersLeft = gameSettings.getJokerNumber();
|
||||||
done : while(true) {
|
done : while(true) {
|
||||||
|
|
Reference in a new issue