SKTileAdjacencyMask Enum

Definition

Enumerates how neighboring tiles may be automatically placed.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SKTileAdjacencyMask
type SKTileAdjacencyMask = 
Inheritance
SKTileAdjacencyMask
Attributes

Fields

Name Value Description
HexFlatUp 1
HexPointyUpperLeft 1
Up 1
HexFlatUpperRight 2
HexPointyUpperRight 2
UpperRight 2
HexFlatLowerRight 4
HexPointyRight 4
Right 4
LowerLeftEdge 7
HexFlatDown 8
HexPointyLowerRight 8
LowerRight 8
Down 16
HexFlatLowerLeft 16
HexPointyLowerLeft 16
UpperLeftEdge 28
LeftEdge 31
HexFlatUpperLeft 32
HexPointyLeft 32
LowerLeft 32
HexFlatAll 63
HexPointyAll 63
Left 64
UpperRightEdge 112
UpEdge 124
LowerRightCorner 127
UpperLeft 128
LowerRightEdge 193
DownEdge 199
UpperRightCorner 223
RightEdge 241
UpperLeftCorner 247
LowerLeftCorner 253
All 255

Applies to