comparison light8/Cue.py @ 46:cfb00e8cc0ea

(22:36:03) drewp: plaese use stronger quotes """ on Cue:1 to help my highlighter
author dmcc
date Sun, 07 Jul 2002 13:37:04 +0000
parents 62c47c3a90cb
children 71489bb71528
comparison
equal deleted inserted replaced
45:62c47c3a90cb 46:cfb00e8cc0ea
1 '''And that's my cue to exit(0)...''' 1 """And that's my cue to exit(0)..."""
2 from time import time 2 from time import time
3 from util import subsetdict 3 from util import subsetdict
4 4
5 class Cue: 5 class Cue:
6 '''Cues are groups of fades. They can tell you the current levels at a 6 """Cues are groups of fades. They can tell you the current levels at a
7 given time. They contain Fades, which are actually children of Cue, 7 given time. They contain Fades, which are actually children of Cue,
8 meaning that Cues can contain Cues. This is similar to the Light9 concept 8 meaning that Cues can contain Cues. This is similar to the Light9 concept
9 of Cues and Fades, but without all the Nodes.''' 9 of Cues and Fades, but without all the Nodes."""
10 def __init__(self, name, starttime, endtime, *fades): 10 def __init__(self, name, starttime, endtime, *fades):
11 'Create a cue' 11 'Create a cue'
12 self.name = name 12 self.name = name
13 self.starttime = starttime 13 self.starttime = starttime
14 self.endtime = endtime 14 self.endtime = endtime