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

Cocos2d-x中CCSprite的Create流程--h,第1张

概述插入代码片内容 class CC_DLL Sprite : public Node, public TextureProtocol { public: static const int INDEX_NOT_INITIALIZED = -1; /// Sprite invalid index on the SpriteBatchNode /// @{

插入代码片内容

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();  


引用代码片



嵌入代码片

总结

以上是内存溢出为你收集整理的Cocos2d-x中CCSprite的Create流程--h全部内容,希望文章能够帮你解决Cocos2d-x中CCSprite的Create流程--h所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1080487.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存