aboutsummaryrefslogtreecommitdiff
path: root/operationscore/PixelEvent.py
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2010-11-24 01:09:12 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2010-11-24 01:09:12 -0500
commitb042647b68abdc82490ca6e059993b8eba28904c (patch)
treea9ee95a38e98b377c251b7b2e9af9cbd8056cf7c /operationscore/PixelEvent.py
parent407ac922fc4178021cf3a16dfb1bd875b6083ac4 (diff)
Refactoring complete! Made modules/packages as appropriate. Finally.
Diffstat (limited to 'operationscore/PixelEvent.py')
-rw-r--r--operationscore/PixelEvent.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/operationscore/PixelEvent.py b/operationscore/PixelEvent.py
new file mode 100644
index 0000000..07669cd
--- /dev/null
+++ b/operationscore/PixelEvent.py
@@ -0,0 +1,13 @@
+#Class defining a light response. Inheriting classes should define lightState,
+#which should return a color, or None if the response is complete. Consider
+#requiring a generate event.
+from operationscore.SmootCoreObject import *
+class PixelEvent(SmootCoreObject):
+ def init(self):
+ self.validateArgs('PixelEvent.params')
+ self.initEvent()
+ def initEvent(self):
+ pass
+ def state(self,timeDelay):
+ pass
+