예제 #1
0
 def __init__(self, except_station=None, time_out=15):
     MultiEffect.__init__(self)
     self.except_station = except_station
     self.last_launch = None
     self.time_out = time_out
     self.launch_button = 2
예제 #2
0
 def __init__(self, button=2):
     MultiEffect.__init__(self)
     self.button = button
     self._update_buttons()
예제 #3
0
 def __init__(self, factory_method, launch_checker=button_launch_checker, **kwargs):
     MultiEffect.__init__(self)
     self.launch_checker = launch_checker
     self.factory_method = factory_method
     self.factory_args = kwargs