def __init__(self, calculator, name_scenars, type_bt, delay, condition, synchro):
        Instruction.__init__(self,calculator, 0, delay, synchro)
        self.name_scenars = name_scenars
        self.type_bt = type_bt
        self.condition = condition

        self.button = None
Esempio n. 2
0
 def __init__(self,
              calculator,
              variable,
              value,
              delay,
              synchro,
              duration=0):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.variable = variable
     self.value = value
 def __init__(self,
              calculator,
              spotify,
              type_inst,
              delay,
              synchro,
              duration=0):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.type_inst = type_inst
     self.spotify = spotify
Esempio n. 4
0
 def __init__(self,
              calculator,
              tree,
              name_mode,
              delay,
              synchro,
              duration=0):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.tree = tree
     self.name_mode = name_mode
 def __init__(self, calculator, speaker, volume, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.volume = volume
     self.speaker = speaker
Esempio n. 6
0
 def __init__(self, calculator, trap, action, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.action = action
     self.trap = trap
Esempio n. 7
0
 def __init__(self, calculator, pc, action, args, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.pc = pc
     self.action = action
     self.args = args
Esempio n. 8
0
 def __init__(self, calculator, light, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.light = light