Inherits from KKNode : SKNode
Declared in KKTilemapLayerNode.h

Overview

Common base class for both KKTilemapObjectLayerNode and KKTilemapTileLayerNode

Properties

layer

The tilemap layer object.

@property (atomic, readonly, weak) KKTilemapLayer *layer

Return Value

The tilemap layer object.

Declared In

KKTilemapLayerNode.h

tilemapNode

The layer’s tilemap node.

@property (atomic, weak) KKTilemapNode *tilemapNode

Return Value

The layer’s tilemap node.

Declared In

KKTilemapLayerNode.h

Instance Methods

centerPositionForTileCoord:

nd

- (CGPoint)centerPositionForTileCoord:(CGPoint)tileCoord

Declared In

KKTilemapLayerNode.h

positionForTileCoord:

nd

- (CGPoint)positionForTileCoord:(CGPoint)tileCoord

Declared In

KKTilemapLayerNode.h

tileCoordForPoint:

Converts a point from scene coordinates to tile coordinates within the layer.

- (CGPoint)tileCoordForPoint:(CGPoint)point

Declared In

KKTilemapLayerNode.h