Initializer

init(adjacency:tileDefinitions:)

Initializes a new tile group rule with adjacency rules and tile definitions.

Declaration

init(adjacency: SKTileAdjacencyMask, tileDefinitions: [SKTileDefinition])

Parameters

adjacency

The adjacency requirements for this rule.

tileDefinitions

The tile definitions used for this rule.

Return Value

A new tile group rule.