Tile - YEnergy - Get Other Connected Entity – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==== noConnection ==== | ==== noConnection ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 12:16, 12 November 2021
Get Other Connected Entity(Entity, Port, Connected, No connection)
static getOtherConnectedEntity(entity: YEntity, port: number, connected: (entity: YEntity, port: number) => void, noConnection: () => void): void;
Parameters
entity
port
connected
noConnection
Availability
Description
Returns whether there is another entity connected to the target energy port and allows for additional instructions based on the outcome.