def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input":-1, "set":False, "unset":False} self.outputs = {"Output":False} self.lastval = -1 self.name = "T-Flip-Flop"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input1":-1,"Input2":-1} self.outputs = {"Output":-1} self.oldinputs = self.inputs self.texture = "AND.gif" self.name = "AND"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input":-1} self.outputs = {"Output":-1} self.oldinputs = self.inputs self.texture = "NOT.gif" self.name = "Inverter"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input":-1} self.outputs = {} self.oldinputs = self.inputs self.texture = "lamp.png" self.name = "Lamp"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input": -1} self.outputs = {} self.oldinputs = self.inputs self.texture = "lamp.png" self.name = "Lamp"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input": -1} self.outputs = {"Output": -1} self.oldinputs = self.inputs self.texture = "NOT.gif" self.name = "Inverter"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input1": -1, "Input2": -1} self.outputs = {"Output": -1} self.oldinputs = self.inputs self.texture = "AND.gif" self.name = "AND"
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input1": -1, "Input2": -1} self.outputs = {"Output": -1} self.oldinputs = self.inputs self.texture = "AND.gif" self.name = "AND" self.settings = {"Inputs": [2, 2, 99]} #"Name":[Val,von,bis]
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {} self.outputs = {"Output": 0} self.oldinputs = self.inputs self.texture = "leveroff.png" self.name = "Lever" self.bool = False
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input":-1} self.outputs = {"Output":-1} self.oldinputs = self.inputs self.name = "WIP" self.settings = {"Name":[5,1,99]}#"Name":[Val,von,bis] self.time = 0
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input1":-1,"Input2":-1} self.outputs = {"Output":-1} self.oldinputs = self.inputs self.texture = "AND.gif" self.name = "AND" self.settings = {"Inputs":[2,2,99]}#"Name":[Val,von,bis]
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {"Input": -1} self.outputs = {"Output": -1} self.oldinputs = self.inputs self.name = "WIP" self.settings = {"Name": [5, 1, 99]} #"Name":[Val,von,bis] self.time = 0
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {} self.outputs = {"Output":-1} self.oldinputs = self.inputs self.name = "Clock" self.settings = {"An-Ticks":[5,1,99],"Aus-Ticks":[5,1,99]}#"Name":[Val,von,bis] self.onticks = 0 self.offticks = 0 self.time = 0
def __init__(self): GuiBlock.__init__(self) self.ticks = 1 self.inputs = {} self.outputs = {"Output": -1} self.oldinputs = self.inputs self.name = "Clock" self.settings = { "An-Ticks": [5, 1, 99], "Aus-Ticks": [5, 1, 99] } #"Name":[Val,von,bis] self.onticks = 0 self.offticks = 0 self.time = 0