TileFlags

public struct TileFlags : OptionSet

The TileFlags optionset represents the various transformation flags that can be set for a given tile.

Properties

  • none: tile is rendered with no transformations.
  • flipHorizontal: tile is flipped on the x-axis.
  • flipVertical: tile is flipped on the y-axis.
  • flipDiagonal: tile is rotated.

Extensions

  • Descriptor values for each option.

    Declaration

    Swift

    public var strings: [String] { get }