2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module SpriteFrameCache
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- overload function: addSpriteFramesWithFile(string, string)
|
|
|
|
--
|
|
|
|
-- overload function: addSpriteFramesWithFile(string)
|
|
|
|
--
|
|
|
|
-- overload function: addSpriteFramesWithFile(string, cc.Texture2D)
|
|
|
|
--
|
|
|
|
-- @function [parent=#SpriteFrameCache] addSpriteFramesWithFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] addSpriteFrame
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.SpriteFrame spriteframe
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeUnusedSpriteFrames
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] getSpriteFrameByName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] init
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFrames
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFrameByName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] destroyInstance
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return SpriteFrameCache#SpriteFrameCache ret (return value: cc.SpriteFrameCache)
|
|
|
|
|
|
|
|
return nil
|