TKStaggerIndex Constants Reference

Declared in TKEnums.h

TKStaggerIndex

Stagger index of hexagonal and “staggered” isometric tilemaps. Determines whether odd or even numbered rows/colums are shifted. Defaults to even.

Definition

typedef NS_ENUM(NSInteger, TKStaggerIndex ) {
   TKStaggerIndexEven,
   TKStaggerIndexOdd,
};

Constants

TKStaggerIndexEven

Even-numbered rows/columns (depending on stagger axis) have their positions shifted.

Declared In TKEnums.h.

TKStaggerIndexOdd

Odd-numbered rows/columns (depending on stagger axis) have their positions shifted.

Declared In TKEnums.h.

Declared In

TKEnums.h