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
示例#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
示例#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
示例#6
0
 def __init__(self, calculator, trap, action, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.action = action
     self.trap = trap
示例#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
示例#8
0
 def __init__(self, calculator, light, duration, delay, synchro):
     Instruction.__init__(self, calculator, duration, delay, synchro)
     self.light = light