Class BasePin
java.lang.Object
io.zucchini.circuitsimtester.api.BasePin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.ra4king.circuitsim.simulator.components.wiring.PinThePinwrapped by this instance.protected SubcircuitTheSubcircuitwhere this pin lives -
Constructor Summary
ConstructorsConstructorDescriptionBasePin(com.ra4king.circuitsim.simulator.components.wiring.Pin pin, Subcircuit subcircuit) Creates a new BasePin which wraps the providedPincomponent and which lives in the providedSubcircuit. -
Method Summary
Modifier and TypeMethodDescriptioncom.ra4king.circuitsim.simulator.components.wiring.PingetPin()Returns the internal CircuitSimPincomponent this object wraps.Returns theSubcircuit, a wrapper around a CircuitSimCircuitBoardwhere this Pin lives.
-
Field Details
-
pin
protected com.ra4king.circuitsim.simulator.components.wiring.Pin pinThePinwrapped by this instance. -
subcircuit
TheSubcircuitwhere this pin lives
-
-
Constructor Details
-
BasePin
Creates a new BasePin which wraps the providedPincomponent and which lives in the providedSubcircuit.- Parameters:
pin-Pincomponent to wrapsubcircuit- where this pin lives
-
-
Method Details
-
getPin
public com.ra4king.circuitsim.simulator.components.wiring.Pin getPin()Returns the internal CircuitSimPincomponent this object wraps.This exposes an internal CircuitSim API. Do not use unless you know what you are doing.
- Returns:
- the CircuitSim
Pincomponent wrapped by this object. - See Also:
-
getSubcircuit
Returns theSubcircuit, a wrapper around a CircuitSimCircuitBoardwhere this Pin lives.- Returns:
- the
Subcircuitwhere this pin lives
-