aboutsummaryrefslogtreecommitdiff
path: root/PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2011-09-14 10:42:54 +0100
committerChristopher Baines <cbaines8@gmail.com>2011-09-14 10:42:54 +0100
commitae8432ffe5cea8421b04068d0fe62d8e15175505 (patch)
tree118bb4c9ed8270fdf194b92ae216e1c85c0c4f6f /PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java
parentf4b220237f3e7d16618c9e95ebb03a9fb6991aa2 (diff)
downloadpunchingbag-ae8432ffe5cea8421b04068d0fe62d8e15175505.tar
punchingbag-ae8432ffe5cea8421b04068d0fe62d8e15175505.tar.gz
New package management, needs more work, not enough is public. Split
programs from the gui, these are included as examples.
Diffstat (limited to 'PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java')
-rw-r--r--PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java b/PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java
new file mode 100644
index 0000000..abea103
--- /dev/null
+++ b/PunchingBag/src/uk/ac/open/punchingbag/ButtonListener.java
@@ -0,0 +1,10 @@
+package uk.ac.open.punchingbag;
+import java.util.EventListener;
+
+public interface ButtonListener extends EventListener {
+
+ void buttonPressed(int x, int y);
+
+ void contact(Contact c);
+
+}