Cocos2d-x中CCSprite的Create流程--h

来源:互联网 发布:音乐解析软件手机软件 编辑:程序博客网 时间:2024/05/17 01:08

插入代码片内容

class CC_DLL Sprite : public Node, public TextureProtocol  {  public:        static const int INDEX_NOT_INITIALIZED = -1; /// Sprite invalid index on the SpriteBatchNode        /// @{      /// @name Creators        /**      * Creates an empty sprite without texture. You can call setTexture method subsequently.      *      * @return An autoreleased sprite object.      */      static Sprite* create();  


引用代码片



嵌入代码片

0 0
原创粉丝点击