diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jrummikub/control/turn/HumanTurnControl.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jrummikub/control/turn/HumanTurnControl.java b/src/jrummikub/control/turn/HumanTurnControl.java index 427fe53..7b2588e 100644 --- a/src/jrummikub/control/turn/HumanTurnControl.java +++ b/src/jrummikub/control/turn/HumanTurnControl.java @@ -297,7 +297,7 @@ public class HumanTurnControl extends AbstractTurnControl { view.setSelectedStones(selectedStones); } - private void collectionSetClick(Stone stone, Boolean collect) { + private void collectionSetClick(Stone stone, boolean collect) { selectedStones.clear(); view.setSelectedStones(selectedStones); } @@ -324,7 +324,7 @@ public class HumanTurnControl extends AbstractTurnControl { view.setSelectedStones(selectedStones); } - private void tableSetClick(Stone stone, Boolean collect) { + private void tableSetClick(Stone stone, boolean collect) { if (!collect) { selectedStones.clear(); } @@ -336,7 +336,7 @@ public class HumanTurnControl extends AbstractTurnControl { view.setSelectedStones(selectedStones); } - private void tableRangeClick(Stone stone, Boolean collect) { + private void tableRangeClick(Stone stone, boolean collect) { if (selectedStones.isEmpty()) { stoneClick(stone, true); return; @@ -368,7 +368,7 @@ public class HumanTurnControl extends AbstractTurnControl { view.setSelectedStones(selectedStones); } - private void handRangeClick(Stone stone, Boolean collect) { + private void handRangeClick(Stone stone, boolean collect) { if (selectedStones.isEmpty()) { stoneClick(stone, true); return; |