Declared in FuelBus
Declaration
bool Connect(
UniverseObject from,
FuelPort fromPort,
UniverseObject to,
FuelPort toPort
);Description
Connects two fuel components on specified ports. Creates an edge in the network and adds both components to the cache if not already present. For cross-spacecraft connections, the edge is added to both buses.
Parameters
| Name | Description |
|---|---|
| from | The source component. |
| fromPort | The port on the source component. |
| to | The destination component. |
| toPort | The port on the destination component. |