Circuit module
- Source:
Properties:
Name | Type | Description |
---|---|---|
board |
Board | Reference to the Board object |
nodes |
Array.<Position> | Array of true nodes' position |
ground |
Position | Position of the ground/reference node |
Methods
(protected) addNode(pos)
- Source:
Adds the given position to the list of nodes
Parameters:
Name | Type | Description |
---|---|---|
pos |
Position |
(protected) addToBoard()
- Source:
Adds this circuit to the Board.circuits field
(protected) setGround(pos)
- Source:
Set the given position as the ground node
Parameters:
Name | Type | Description |
---|---|---|
pos |
Position |