|
|
@ -3,13 +3,17 @@ package solitaer; |
|
|
|
public class GeberStack extends BaseStack { |
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
private WasteStack wasteStack; |
|
|
|
|
|
|
|
public GeberStack(int _x, int _y) { |
|
|
|
public GeberStack(int _x, int _y, WasteStack _waste) { |
|
|
|
super(false); |
|
|
|
super.setLocation(_x, _y); |
|
|
|
super.setSize(IMAGE_WIDTH, STACK_HIGHT); |
|
|
|
super.setOpaque(false); |
|
|
|
super.setLayout(null); |
|
|
|
|
|
|
|
this.wasteStack = _waste; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|