TKMapOrientation Constants Reference

Declared in TKEnums.h

TKMapOrientation

Tilemap orientation: orthogonal (square or rectangular tiles), isometric (diamond/rhombus shaped tiles) and hexagonal (hexagon shaped tiles). Staggered isometric is special because the map ends up being rectangular (with “pointy” borders). Regular isometric map has its tiles laid out in a rhombus shape.

Definition

typedef NS_ENUM(NSInteger, TKMapOrientation ) {
   TKMapOrientationInvalid = -1,
   TKMapOrientationOrthogonal = 0,
   TKMapOrientationIsometric,
   TKMapOrientationStaggeredIsometric,
   TKMapOrientationHexagonal,
};

Constants

TKMapOrientationInvalid

Unset or invalid Map orientation.

Declared In TKEnums.h.

TKMapOrientationOrthogonal

An orthogonal tilemap with square/rectangular tiles and rectangular map layout.

Declared In TKEnums.h.

TKMapOrientationIsometric

An isometric tilemap with rhombus-shaped tiles and rhombus-shaped map layout.

Declared In TKEnums.h.

TKMapOrientationStaggeredIsometric

A “staggered” isometric tilemap (since Tiled v0.9) with rhombus-shaped tiles and a rectangular map layout.

Declared In TKEnums.h.

TKMapOrientationHexagonal

A hexagonal tilemap (since Tiled v0.10) with 6-sided tiles and a rectangular map layout.

Declared In TKEnums.h.

Declared In

TKEnums.h