five-on-it / packages/catalogue/src/region/towns / townSockets
Function: townSockets()
townSockets(
fp,size):TownSocket[]
Defined in: packages/catalogue/src/region/towns.ts:140
Where a road of the region may end at a town: the middle of each outer edge of the footprint where a street line comes out (lines 1 to n − 1 along each side: the ring's own lines end in its rounded corners), in the game's frame.
Parameters
fp
size
[number, number]