LHJointsProtocol Reference

LHJointsProtocol.h

Overview

LevelHelper-2 joint nodes conforms to this protocol.

Instance Methods

getAnchorA

- (Point)getAnchorA
Discussion

Returns the point where the joint is connected with the first body. In scene coordinates.

Declared In
LHJointsProtocol.h

getAnchorB

- (Point)getAnchorB
Discussion

Returns the point where the joint is connected with the second body. In scene coordinates.

Declared In
LHJointsProtocol.h

getJoint

- (PhysicsJoint *)getJoint
Discussion

Returns the actual Box2d or Cocos2d-X(chipmunk) joint object.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.