diff options
author | Russell Cohen <rcoh@mit.edu> | 2010-11-24 01:09:12 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2010-11-24 01:09:12 -0500 |
commit | b042647b68abdc82490ca6e059993b8eba28904c (patch) | |
tree | a9ee95a38e98b377c251b7b2e9af9cbd8056cf7c /operationscore/PixelEvent.py | |
parent | 407ac922fc4178021cf3a16dfb1bd875b6083ac4 (diff) |
Refactoring complete! Made modules/packages as appropriate. Finally.
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 + |