From b042647b68abdc82490ca6e059993b8eba28904c Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Wed, 24 Nov 2010 01:09:12 -0500 Subject: Refactoring complete! Made modules/packages as appropriate. Finally. --- operationscore/PixelEvent.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 operationscore/PixelEvent.py (limited to 'operationscore/PixelEvent.py') 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 + -- cgit v1.2.3