LHGravityArea Reference

Inherits from
  • CCNode
Conforms to
LHGravityArea.h

Overview

LHGravityArea class is used to load a gravity area object from a level file.

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
Last updated: 2015-2-12

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.