Don’t hide parent’s addChild method in TMXLayer class.

This commit is contained in:
James Chen 2013-12-23 21:53:23 +08:00
parent b08995ae67
commit 5f17984826
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ public:
/** TMXLayer doesn't support adding a Sprite manually.
@warning addchild(z, tag); is not supported on TMXLayer. Instead of setTileGID.
*/
using SpriteBatchNode::addChild;
virtual void addChild(Node * child, int zOrder, int tag) override;
// super method
void removeChild(Node* child, bool cleanup) override;