TileGrid
public struct TileGrid
Represents a two dimensional grid of tiles (such as that in a tile Layer
-
The size of the grid (in tiles)
Declaration
Swift
public let size: TileGridSize
-
Creates a new
TileGrid
using the supplied array ofTileGID
sDeclaration
Swift
public init(_ grid: [TileGID], size: TileGridSize)