LHJointNodeProtocol Protocol Reference

LHJointNodeProtocol.h

Overview

LevelHelper 2 joint nodes conform to this protocol.

Instance Methods

anchorA

- (CGPoint)anchorA
Discussion

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

Declared In
LHJointNodeProtocol.h

anchorB

- (CGPoint)anchorB
Discussion

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

Declared In
LHJointNodeProtocol.h

joint

- (SKPhysicsJoint *)joint
Discussion

Returns the actual Box2d or SpriteKit joint object.

Declared In
LHJointNodeProtocol.h

nodeA

- (SKNode *)nodeA
Discussion

Returns the first connected node.

Declared In
LHJointNodeProtocol.h

nodeB

- (SKNode *)nodeB
Discussion

Returns the second connected node.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.