Instance Method

initWithAdjacency:tileDefinitions:

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

Declaration

- (instancetype)initWithAdjacency:(SKTileAdjacencyMask)adjacency tileDefinitions:(NSArray<SKTileDefinition *> *)tileDefinitions;

Parameters

adjacency

The adjacency requirements for this rule.

tileDefinitions

The tile definitions used for this rule.

Return Value

A new tile group rule.

See Also