Hello, i want create my custom class of CCBatchNode and insert common code to all create… methods. I saw source code of CCSpriteBatchNode and found, that all create… methods call initWithTexture. I was thought: “Ok! It’s what i wanted! One method to all create… methods! Best place to common code!” and then i tried override this method… but nothing happend. I saw source code again and found, that initWithTexture is not virtual method and i cannot override this method for my aims (?).
* Why initWithTexture not a virtual method?
* What method i cant override for common code. I don’t want override all create… method.
Ok, at last… i’m newbie in C++. Thank you for your attention!