issue #3: change tow function to virtual

This commit is contained in:
Ming 2010-07-22 06:31:08 +00:00
parent e631a65d9f
commit 63871077af
1 changed files with 2 additions and 2 deletions

View File

@ -256,13 +256,13 @@ public:
It returns self, so you can chain several addChilds. It returns self, so you can chain several addChilds.
@since v0.7.1 @since v0.7.1
*/ */
CCNode * addChild(CCNode * child); virtual CCNode * addChild(CCNode * child);
/** Adds a child to the container with a z-order /** Adds a child to the container with a z-order
It returns self, so you can chain several addChilds. It returns self, so you can chain several addChilds.
@since v0.7.1 @since v0.7.1
*/ */
CCNode * addChild(CCNode * child, int zOrder); virtual CCNode * addChild(CCNode * child, int zOrder);
/** Adds a child to the container with z order and tag /** Adds a child to the container with z order and tag
It returns self, so you can chain several addChilds. It returns self, so you can chain several addChilds.