cocos2d-x in the CCScene Why generated from CCLayer
Just seen an example of cocos2d-x, and found HelleWorld example of HelloWorldScene is inherited from CCLayer in, and then generate CCScene objects and objects in its Scene CCLayer member function, I'm curious what the benefits of doing it?
No comments:
Post a Comment