aboutsummaryrefslogtreecommitdiff
path: root/PunchingBag/src/PunchingBag.java
blob: 278a8fc130449df58640b910166f23cf9c64142e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.event.EventListenerList;


public class PunchingBag {
	protected EventListenerList listenerList = new EventListenerList();
	
    /**
     * Adds an <code>ActionListener</code> to the button.
     * @param l the <code>ActionListener</code> to be added
     */
    public void addButtonListener(ButtonListener l) {
        listenerList.add(ButtonListener.class, l);
    }

    public void setLED(byte x, byte y, byte intensity) {
    	
    	
	}

}