diff options
author | Russell Cohen <rcoh@mit.edu> | 2011-01-20 14:57:43 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2011-01-20 14:57:43 -0500 |
commit | f45b5e262c394cf00ef88f7fca1eab1b4de0fec9 (patch) | |
tree | 0f513d55c859773e27f1f615f3160ef1f66124ce /pixelcore | |
parent | 0af38d1882291523d0d290a638e88be793f27678 (diff) |
Rewrite of Behavior parent class to suck less. Lots of bug fixes. Added
'RestrictLocation' which allows events to fire based on their location.
Diffstat (limited to 'pixelcore')
-rw-r--r-- | pixelcore/PixelEventManager.py | 2 | ||||
-rw-r--r-- | pixelcore/Screen.py | 3 |
2 files changed, 2 insertions, 3 deletions
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 - |