aboutsummaryrefslogtreecommitdiff
path: root/operationscore/PixelEvent.py
blob: 07669cdc61dea1a1a095bb6f22a781c3874cc74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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