Class CCParallaxNode

#include <Geode/cocos/tilemap_parallax_nodes/CCParallaxNode.h>
classCCParallaxNode:publiccocos2d::CCNode{ ... }

CCParallaxNode: A node that simulates a parallax scroller The children will be moved faster / slower than the parent according the the parallax ratio.

Examples0
Public static methods1
staticcocos2d::CCParallaxNode*create()
No description provided
Public member functions7
virtualcocos2d::_ccArray*getParallaxArray()const

array that holds the offset / ratio of the children

virtualvoidsetParallaxArray()

array that holds the offset / ratio of the children

virtualvoidaddChild(,,,)
No description provided
virtualvoidaddChild(,
uintzOrder
,
inttag
)
No description provided
virtualvoidremoveChild(,
boolcleanup
)
No description provided
virtualvoidremoveAllChildrenWithCleanup(
boolcleanup
)
No description provided
virtualvoidvisit()
No description provided
Fields0
Protected member functions0
Protected fields2
cocos2d::_ccArray*m_pParallaxArray
;

array that holds the offset / ratio of the children

cocos2d::CCPointm_tLastPosition
;
No description provided