TKLayerType Constants Reference

Declared in TKEnums.h

TKLayerType

The type of a tilemap layer. Allows you to bypass isKindOfClass checks because if a given type is set, the layer can be safely cast to the corresponding class.

Definition

typedef NS_ENUM(NSInteger, TKLayerType ) {
   TKLayerTypeUndefined,
   TKLayerTypeTile,
   TKLayerTypeObject,
   TKLayerTypeImage,
};

Constants

TKLayerTypeUndefined

The layer type has not been set.

Declared In TKEnums.h.

TKLayerTypeTile

Tile layer, represented by class TKTileLayer.

Declared In TKEnums.h.

TKLayerTypeObject

Object layer, represented by class TKObjectLayer.

Declared In TKEnums.h.

TKLayerTypeImage

Image layer, represented by class TKImageLayer.

Declared In TKEnums.h.

Declared In

TKEnums.h