跳到主要内容

Class: FenceConnectivity

Returns information about whether this fence is connected to other fences in several directions.

Constructors

new FenceConnectivity()

private new FenceConnectivity(): FenceConnectivity

Returns

FenceConnectivity

Properties

east

readonly east: boolean

Remarks

Represents whether this fence block is connected to another fence to the east (x + 1).


north

readonly north: boolean

Remarks

Represents whether this fence block is connected to another fence to the north (z - 1).


south

readonly south: boolean

Remarks

Represents whether this fence block is connected to another fence to the south (z + 1).


west

readonly west: boolean

Remarks

Represents whether this fence block is connected to another fence to the west (x - 1).