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