Constructor
new ShortCircuit(startNode, endNode)
Constructor
Parameters:
Name | Type | Description |
---|---|---|
startNode |
Node | Start Node |
endNode |
Node | End Node |
- Deprecated:
- Yes
- Source:
Methods
destroy()
Destroy this ShortCircuit
- Source:
draw() → {Boolean}
Draw this ShortCircuit
- Source:
Returns:
Boolean
- Type
- Boolean
drawShortCircuit()
Service function to draw this ShortCircuit
- Source:
mouseClicked()
Called when mouse is clicked
- Source: