diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-29 20:22:45 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-05-29 20:22:45 +0200 |
commit | f6a3409ed525db8c416f46ac57f3861866443c22 (patch) | |
tree | 375abc093f40f345183d2b5f92881c04d2542f73 /src/jrummikub | |
parent | 794777c2fe8808444d2952d8abe287278d81f119 (diff) | |
download | JRummikub-f6a3409ed525db8c416f46ac57f3861866443c22.tar JRummikub-f6a3409ed525db8c416f46ac57f3861866443c22.zip |
Use correct joker colors
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@310 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub')
-rw-r--r-- | src/jrummikub/model/StoneHeap.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jrummikub/model/StoneHeap.java b/src/jrummikub/model/StoneHeap.java index 4ccb427..12dcc21 100644 --- a/src/jrummikub/model/StoneHeap.java +++ b/src/jrummikub/model/StoneHeap.java @@ -30,9 +30,9 @@ public class StoneHeap { ArrayList<StoneColor> jokerColors = new ArrayList<StoneColor>(Arrays.asList(StoneColor.values())); - StoneColor temp = jokerColors.get(0); - jokerColors.set(0, jokerColors.get(2)); - jokerColors.set(2, temp); + StoneColor temp = jokerColors.get(1); + jokerColors.set(1, jokerColors.get(3)); + jokerColors.set(3, temp); int jokersLeft = gameSettings.getJokerNumber(); done : while(true) { |