mirror of https://github.com/axmolengine/axmol.git
22 lines
575 B
Plaintext
22 lines
575 B
Plaintext
|
|
struct _ccArray;
|
|
|
|
class CCParallaxNode : public CCNode
|
|
{
|
|
struct _ccArray* getParallaxArray();
|
|
void setParallaxArray(struct _ccArray * pval);
|
|
|
|
void addChild(CCNode * child, unsigned int z, CCPoint parallaxRatio, CCPoint positionOffset);
|
|
void addChild(CCNode * child, unsigned 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);
|
|
|
|
static CCParallaxNode* create();
|
|
};
|