LHParallax Reference

LHParallax.lua

Overview

LHParallax class is used to load a parallax object from a level file.

Conforms to:

LHNodeProtocol

LHAnimationsProtocol

Instance Methods

getFollowedNode

local  getFollowedNode()
Discussion

Get the node that this parallax follows. The node or nil.

Declared In
LHParallax.lua

setFollowedNode

local  setFollowedNode(node)
Parameters
node

A LevelHelper node object

Discussion

Sets the node this parallax should follow.

Declared In
LHParallax.lua
Last updated: 2015-3-15

Back to top

Copyright © VLADU BOGDAN DANIEL PFA.