diff options
Diffstat (limited to 'operationscore/PixelEvent.py')
-rw-r--r-- | operationscore/PixelEvent.py | 13 |
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 + |