LHParallax Reference

Inherits from
Conforms to
LHParallax.h

Overview

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

Instance Methods

followedNode

- (SKNode<LHNodeAnimationProtocol, LHNodeProtocol> *)followedNode
Discussion

Returns the followed node or nil if no node is being fallowed;

Declared In
LHParallax.h

followNode:

- (void)followNode:(SKNode<LHNodeAnimationProtocol, LHNodeProtocol> *)node
Parameters
node

The node that should be followed by the parallax. Usually a camera node.

Discussion

Set a node that should be followed by this parallax.

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

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.