Skip to content

Circuit.CanAddConnectionint, int, int, int Method

Check if it is possible to add a connection between two points.

1
bool CanAddConnection(start_x, start_y, end_x, end_y)

Parameters

start_x System.Int32

Start point horizontal coordinate

start_y System.Int32

Start point vertical coordinate

end_x System.Int32

End point horizontal coordinate

end_y System.Int32

End point vertical coordinate

Returns

System.Boolean
True if the connectino is possible