LHShape Reference


Overview

LHShape class is used to load and display a shape from a level file.

Note: LHShape cannot yet display textures but only colored shapes, As soon as Apple adds this functionality into SpriteKit, LevelHelper will support it also.

Instance Methods

outlinePoints

- (NSMutableArray *)outlinePoints
Discussion

Returns the outline points of the shape. Array with NSValue with CGPoint.

Declared In
LHShape.h

size

- (CGSize)size
Discussion

Returns the size of the shape node by computing the bounding box of the points.

Declared In
LHShape.h
Last updated: 2015-2-12

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.