diff options
-rw-r--r-- | src/jrummikub/control/AIUtil.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jrummikub/control/AIUtil.java b/src/jrummikub/control/AIUtil.java index 393aa95..92412b2 100644 --- a/src/jrummikub/control/AIUtil.java +++ b/src/jrummikub/control/AIUtil.java @@ -263,7 +263,7 @@ public class AIUtil { return result;
}
- static void incrementStoneCount(
+ private static void incrementStoneCount(
TreeMap<Pair<Integer, StoneColor>, Integer> stones,
Pair<Integer, StoneColor> stone) {
if (stones.containsKey(stone)) {
@@ -273,7 +273,7 @@ public class AIUtil { }
}
- static void decrementStoneCount(
+ private static void decrementStoneCount(
TreeMap<Pair<Integer, StoneColor>, Integer> stones,
Pair<Integer, StoneColor> stone) {
int count = stones.get(stone);
@@ -286,7 +286,7 @@ public class AIUtil { }
}
- StoneColor getNextColor(StoneColor color) {
+ private StoneColor getNextColor(StoneColor color) {
int index = stoneColors.indexOf(color) + 1;
if (index >= stoneColors.size()) {
return null;
|