|
@ -118,6 +118,11 @@ public class MyMouseListener implements MouseInputListener { |
|
|
} else { |
|
|
} else { |
|
|
tempStack = (GeberStack) com.getParent(); |
|
|
tempStack = (GeberStack) com.getParent(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(this.saveStack.stackIsEmpty() == false) { |
|
|
|
|
|
clearSaveStack(selectedStack); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (tempStack.stackIsEmpty()) { |
|
|
if (tempStack.stackIsEmpty()) { |
|
|
// Move all from Waste to Geber |
|
|
// Move all from Waste to Geber |
|
|
((GeberStack) this.tempStack).swapWasteGeber(); |
|
|
((GeberStack) this.tempStack).swapWasteGeber(); |
|
|