diff options
Diffstat (limited to 'PunchingBag/src/PunchingBagGUI.java')
-rw-r--r-- | PunchingBag/src/PunchingBagGUI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PunchingBag/src/PunchingBagGUI.java b/PunchingBag/src/PunchingBagGUI.java index 9a23741..3aae146 100644 --- a/PunchingBag/src/PunchingBagGUI.java +++ b/PunchingBag/src/PunchingBagGUI.java @@ -535,9 +535,9 @@ public class PunchingBagGUI implements MouseListener, MouseMotionListener, @Override
public void buttonPressed(int x, int y) {
System.out.println("Button Pressed: " + x + " " + y);
- // bag.circleExpand(x, y, 16);
- bag.noise(new Rectangle(0, 0, 9, 20), 5000);
-
+ //bag.circleExpand(x, y, 16);
+ //bag.noise(new Rectangle(0, 0, 9, 20), 5000);
+ bag.squareExpand(x,y, 16, PunchingBag.Colour.Red);
}
@Override
|