mirror of https://github.com/axmolengine/axmol.git
issue #3: change tow function to virtual
This commit is contained in:
parent
e631a65d9f
commit
63871077af
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue