MCPcopy Create free account
hub / github.com/djhworld/simple-computer / ConnectOutput

Method ConnectOutput

components/components.go:261–263  ·  view source on GitHub ↗
(b Component)

Source from the content-addressed store, hash-verified

259}
260
261func (a *ANDer) ConnectOutput(b Component) {
262 a.next = b
263}
264
265func (a *ANDer) GetOutputWire(index int) bool {
266 return a.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected