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();
引用代码片
嵌入代码片
原文链接:https://www.f2er.com/cocos2dx/339551.html