In order for 2 NeighbourConnectable to connect they need to share a connection point at the same position with opposite direction and both accept neighbor's category.
location | :: MapLocation | |
category | :: NeighbourConnectableConnectionCategory | Name of a category this connection should belong to. [...] |
Name of a category this connection should belong to. [...] | ||
neighbour_category optional | :: array[NeighbourConnectableConnectionCategory] | Table of neighbor categories this connection will connect to. |
Table of neighbor categories this connection will connect to. |
category | :: NeighbourConnectableConnectionCategory | Name of a category this connection should belong to. [...] |
Name of a category this connection should belong to. [...] | ||
location | :: MapLocation | |
neighbour_category optional | :: array[NeighbourConnectableConnectionCategory] | Table of neighbor categories this connection will connect to. |
Table of neighbor categories this connection will connect to. |
Position relative to entity's position where the connection point will be located at.
Direction this connection point will be facing to.
Name of a category this connection should belong to. Used when deciding which connections are allowed to connect to this.
Cannot be an empty string.
Table of neighbor categories this connection will connect to.