aboutsummaryrefslogtreecommitdiff
path: root/PixelEvent.py
blob: 2c3fa66825dcceccf103674016ae8f2eb1d0beec (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 SmootCoreObject import SmootCoreObject
class PixelEvent(SmootCoreObject):
    def init(self):
        self.validateArgs('PixelEvent.params')
        self.initEvent()
    def initEvent(self):
        pass
    def lightState(self,timeDelay):
        pass