The Wire is used to connect buildings like the Switch logic gates, displays, virtual processors, and more. Wires are placed on their own layer and don't interact with regular buildings. There are 2 variants of the wire: green and blue. Green wire will connect with green wire around it but not blue wire, and vice versa. A Wire contains a signal, which can be a boolean (0 or 1), a color, or a shape. If a wire is connected to an input its signal will become that input. If a wire is connected to 2 inputs if different signals (e.g. two switches, one off and one on) it turns red and gives an error.
电线用于连接开关、逻辑门、显示器、虚拟处理器等建筑。 电线放置在电线层中,因此不会影响常规建筑。电线有 2 种版本:绿色和蓝色。绿线将与它周围的绿线连接,但不会与蓝线连接,反之亦然。 一根电线包含一个信号,该信号可以是布尔值(0 或 1)、颜色或形状。如果电线连接到某个输入上,电线的信号将变成输入的信号。 如果一根电线连接到 2 个不同信号的输入端(例如两个开关,一个关闭另一个开启),它将变红并给出错误信号。