diff options
Diffstat (limited to 'PunchingBag/src/uk/ac/open/punchingbag/PunchingBagGUI.java')
-rw-r--r-- | PunchingBag/src/uk/ac/open/punchingbag/PunchingBagGUI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PunchingBag/src/uk/ac/open/punchingbag/PunchingBagGUI.java b/PunchingBag/src/uk/ac/open/punchingbag/PunchingBagGUI.java index 5eb57c6..d05016d 100644 --- a/PunchingBag/src/uk/ac/open/punchingbag/PunchingBagGUI.java +++ b/PunchingBag/src/uk/ac/open/punchingbag/PunchingBagGUI.java @@ -589,9 +589,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.setLED(x, y, PunchingBag.Colour.Red); - // bag.noise(new Rectangle(0, 0, 9, 20), 5000); + //bag.circleExpand(x, y, 16); + //bag.setLED(x, y, Color.red); + bag.noise(new Rectangle(0, 0, 9, 20), 5000); /* * for (int bx=0; bx<bag.ledWidth; bx++) { for (int by=0; * by<bag.ledHeight; by++) { bag.setLED(bx, by, PunchingBag.Colour.Red); |