Exemplo n.º 1
0
    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
Exemplo 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
Exemplo n.º 3
0
 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
Exemplo 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
Exemplo n.º 5
0
 def __init__(self, calculator, speaker, volume, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.volume = volume
     self.speaker = speaker
Exemplo 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
Exemplo 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
Exemplo n.º 8
0
 def __init__(self, calculator, light, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.light = light