127 $north = isset($this->connections[
Facing::NORTH->value]);
128 $south = isset($this->connections[Facing::SOUTH->value]);
129 $west = isset($this->connections[Facing::WEST->value]);
130 $east = isset($this->connections[Facing::EAST->value]);
136 ($north && $south && !$west && !$east) ||
137 (!$north && !$south && $west && $east)
146 ->extendedCopy(Facing::UP, 0.5)
147 ->trimmedCopy(Facing::NORTH, $north ? 0 : $inset)
148 ->trimmedCopy(Facing::SOUTH, $south ? 0 : $inset)
149 ->trimmedCopy(Facing::WEST, $west ? 0 : $inset)
150 ->trimmedCopy(Facing::EAST, $east ? 0 : $inset)