Contents

init(tileGroups:tileSetType:)

Initializes a new tile set with an array of tile groups and specified layout.

Declaration

init(tileGroups: [SKTileGroup], tileSetType: SKTileSetType)

Parameters

  • tileGroups:

    An array of Sktilegroup objects from which to create the tile set from.

  • tileSetType:

    The arrangement of the tiles.

Return Value

A new tile set.

See Also

Creating a Tile Set Programmatically