Conditions | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """ |
||
13 | def __init__(self, fixture: 'Fixture', speed: float, *, delay: float = 0, offset: float = 0): |
||
14 | # The fixture effect is applied to |
||
15 | self.fixture = fixture |
||
16 | |||
17 | # Speed for effect to complete |
||
18 | self.speed = speed |
||
19 | |||
20 | # Delay & offset to allow effect stacking across fixtures |
||
21 | self.delay = delay / 100 |
||
22 | self.offset = offset / 100 |
||
23 | |||
24 | # Animating flag for ticket |
||
25 | self.__animating = False |
||
26 | |||
56 |