From f45b5e262c394cf00ef88f7fca1eab1b4de0fec9 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Thu, 20 Jan 2011 14:57:43 -0500 Subject: Rewrite of Behavior parent class to suck less. Lots of bug fixes. Added 'RestrictLocation' which allows events to fire based on their location. --- pixelcore/PixelEventManager.py | 2 ++ pixelcore/Screen.py | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 pixelcore/PixelEventManager.py (limited to 'pixelcore') diff --git a/pixelcore/PixelEventManager.py b/pixelcore/PixelEventManager.py new file mode 100644 index 0000000..779a0ce --- /dev/null +++ b/pixelcore/PixelEventManager.py @@ -0,0 +1,2 @@ +class PixelEventManager(object): + def init(self) diff --git a/pixelcore/Screen.py b/pixelcore/Screen.py index 77bebb6..6666235 100644 --- a/pixelcore/Screen.py +++ b/pixelcore/Screen.py @@ -92,7 +92,4 @@ class Screen: PixelEvent.addPixelEventIfMissing(responseInfo) currentTime = timeops.time() for (pixel, weight) in pixelWeightList: - if pixel == None: - pdb.set_trace() pixel.processInput(responseInfo['PixelEvent'].scale(weight), 0, currentTime) #TODO: z-index - -- cgit v1.2.3