//in my .h file
virtual void draw();
//in .cpp
void GameLayer:draw()
{
Layer::draw();
//draw code goes here
}
It shows cannot override forward function node::draw()
As far as I know, it was working on the old versions. Is there any new approach in cocos2d-x 3.0?
Thanks in advance.