use get/set for parameters on ports and wires

This commit is contained in:
Redo
2021-02-03 09:32:05 -06:00
parent 941348002b
commit 54f45520c0
7 changed files with 118 additions and 74 deletions

View File

@@ -14,7 +14,7 @@ end
function Gate.addport(self, port)
self.ports[#self.ports+1] = port
port.gate = self
Port.setgate(port, self)
end
function Gate.getportstate(self, index)