mirror of https://github.com/axmolengine/axmol.git
27 lines
630 B
Plaintext
27 lines
630 B
Plaintext
namespace cocos2d {
|
|
struct _ccArray;
|
|
class CCParallaxNode : public CCNode
|
|
{
|
|
|
|
struct _ccArray * getParallaxArray();
|
|
void setParallaxArray(struct _ccArray * pval);
|
|
|
|
|
|
CCParallaxNode();
|
|
~CCParallaxNode();
|
|
static CCParallaxNode * node();
|
|
void addChild(CCNode * child, int z, CCPoint parallaxRatio, CCPoint positionOffset);
|
|
void addChild(CCNode * child, int zOrder, int tag);
|
|
void removeChild(CCNode* child, bool cleanup);
|
|
void removeAllChildrenWithCleanup(bool cleanup);
|
|
void visit(void);
|
|
struct _ccArray * getParallaxArray();
|
|
void setParallaxArray(struct _ccArray * val);
|
|
|
|
};
|
|
|
|
} // namespace cocos2d
|
|
|
|
|
|
|