fixed #612: export some CCNode methods to lua

This commit is contained in:
minggo 2011-07-18 10:28:25 +08:00
parent a3e9679578
commit d97fcbf752
1 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,8 @@ enum {
class CCNode : public CCObject, public SelectorProtocol
{
int getZOrder();
CCNode();
int getZOrder();
float getVertexZ();
void setVertexZ(float var);
float getRotation();
@ -33,14 +34,16 @@ class CCNode : public CCObject, public SelectorProtocol
CCPoint getAnchorPoint();
void setAnchorPoint(CCPoint point);
CCPoint getAnchorPointInPixels();
CCSize getContentSizeInPixels();
void setContentSizeInPixels(CCSize sz);
CCSize getContentSize();
void setContentSize(CCSize size);
bool getIsRunning();
CCNode * getParent();
CCNode* getParent();
void setParent(CCNode * var);
bool getIsRelativeAnchorPoint();
void setIsRelativeAnchorPoint(bool newValue);
int getTag();
int getTag();
void setTag(int var);
void* getUserData();
void setUserData(void *var);