LHGravityArea Reference

Inherits from
Conforms to
LHGravityArea.h

Overview

LHGravityArea class is used to load a gravity area object from a level file. Users can retrieve node objects by calling the scene (LHScene) childNodeWithName: method.

Instance Methods

direction

- (CGPoint)direction
Discussion

Returns the direction in which the force is applied.

Declared In
LHGravityArea.h

force

- (float)force
Discussion

Returns the force of this gravity area.

Declared In
LHGravityArea.h

isRadial

- (BOOL)isRadial
Discussion

Returns whether or not this gravity area is a radial.

Declared In
LHGravityArea.h

size

- (CGSize)size
Discussion

Returns the size as defined in LevelHelper.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.