Wireland::Component
Inherits Reference < Object
A wire instruction like WIRE, ALTWIRE, JOIN, ETC
Constructors
Class methods
allow_adjacent?
Should we connect adjacently to another component of the same type to create a part.
passive?
SourceInstance methods
[](x, y)
Source[]?(x, y)
Sourceabs_data(x, y)
Sourceabs_data?(x, y)
Sourcebounds
Sourcecolor
Sourceconductive=(conductive : Bool)
Can this component conduct in and out? Used by relay poles to turn off and on a component.
conductive?
Can this component conduct in and out? Used by relay poles to turn off and on a component.
data
Sourceon_pulse(from_id : UInt64)
What should be done when this part receives a new charge from a new source
points
Sourcepulse_in(from_id : UInt64)
Sourcepulse_out(to_id : UInt64)
Sourcepulse_out
Sourcepulsed_by?(id)
TODO: DELETE THIS, ITS UNUSED
Was this component pulsed by a component with id?
pulses
TODO: CHANGE THIS TO BOOL The list of pulses incoming to this component from which component id.
pulses=(pulses : Array(UInt64))
TODO: CHANGE THIS TO BOOL The list of pulses incoming to this component from which component id.
setup
Sourcesize
Sourceterminal?
SourceNested types
- Wireland::Component::AltWire
- Wireland::Component::Buffer
- Wireland::Component::Cross
- Wireland::Component::DiodeIn
- Wireland::Component::DiodeOut
- Wireland::Component::GPIO
- Wireland::Component::InputOff
- Wireland::Component::InputOn
- Wireland::Component::InputToggleOff
- Wireland::Component::InputToggleOn
- Wireland::Component::Join
- Wireland::Component::NCPole
- Wireland::Component::NOPole
- Wireland::Component::NotIn
- Wireland::Component::NotOut
- Wireland::Component::OutputOff
- Wireland::Component::OutputOn
- Wireland::Component::Start
- Wireland::Component::Switch
- Wireland::Component::Tunnel
- Wireland::Component::Wire