axmol/tools/tolua++/CCParallaxNode.pkg

22 lines
575 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
struct _ccArray;
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
class CCParallaxNode : public CCNode
{
struct _ccArray* getParallaxArray();
void setParallaxArray(struct _ccArray * pval);
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
void addChild(CCNode * child, unsigned int z, CCPoint parallaxRatio, CCPoint positionOffset);
void addChild(CCNode * child, unsigned int zOrder, int tag);
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
void removeChild(CCNode* child, bool cleanup);
void removeAllChildrenWithCleanup(bool cleanup);
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
void visit(void);
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
struct _ccArray* getParallaxArray();
void setParallaxArray(struct _ccArray * val);
2011-06-14 14:31:25 +08:00
static CCParallaxNode* create();
2012-02-02 14:26:38 +08:00
};