aboutsummaryrefslogtreecommitdiff
path: root/PunchingBag/src/PunchingBagGUI.java
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2011-09-12 16:20:11 +0100
committerChristopher Baines <cbaines8@gmail.com>2011-09-12 16:20:11 +0100
commit0e1a25d62e358f017faf6ee9735a668161dc640d (patch)
tree69e04d777f8d0b7dde21cc2a90945285de5bbe2d /PunchingBag/src/PunchingBagGUI.java
parent7d06a1bb2ef15c57766886831f47fdc83519e6de (diff)
downloadpunchingbag-0e1a25d62e358f017faf6ee9735a668161dc640d.tar
punchingbag-0e1a25d62e358f017faf6ee9735a668161dc640d.tar.gz
Improving the ripple
Diffstat (limited to 'PunchingBag/src/PunchingBagGUI.java')
-rw-r--r--PunchingBag/src/PunchingBagGUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/PunchingBag/src/PunchingBagGUI.java b/PunchingBag/src/PunchingBagGUI.java
index 5ba30a8..03e8f97 100644
--- a/PunchingBag/src/PunchingBagGUI.java
+++ b/PunchingBag/src/PunchingBagGUI.java
@@ -534,8 +534,8 @@ 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.circleExpand(x, y, 16);
+ //bag.setLED(x, y, PunchingBag.Colour.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++) {