CCSpriteSheetCache
CCSpriteSheetCache
Cocos2D.sprite_nodesInheritance: System.Object
Constructors
CCSpriteSheetCache()
CCSpriteSheetCache()()
Properties
Instance(Cocos2D.sprite_nodes.CCSpriteSheetCache)
Methods
AddSpriteSheet(PlistDictionary, CCTexture2D, string)
Cocos2D.CCSpriteSheet AddSpriteSheet(PlistDictionary, CCTexture2D, string)(Cocos2D.PlistDictionary dictionary, Cocos2D.CCTexture2D texture, System.String name)
Parameters:
dictionary
(Cocos2D.PlistDictionary)texture
(Cocos2D.CCTexture2D)name
(System.String)Returns:
Cocos2D.CCSpriteSheet
AddSpriteSheet(Stream, CCTexture2D, string)
Cocos2D.CCSpriteSheet AddSpriteSheet(Stream, CCTexture2D, string)(System.IO.Stream stream, Cocos2D.CCTexture2D texture, System.String name)
Parameters:
stream
(System.IO.Stream)texture
(Cocos2D.CCTexture2D)name
(System.String)Returns:
Cocos2D.CCSpriteSheet
AddSpriteSheet(string)
Cocos2D.CCSpriteSheet AddSpriteSheet(string)(System.String fileName)
Parameters:
fileName
(System.String)Returns:
Cocos2D.CCSpriteSheet
AddSpriteSheet(string, CCTexture2D)
Cocos2D.CCSpriteSheet AddSpriteSheet(string, CCTexture2D)(System.String fileName, Cocos2D.CCTexture2D texture)
Parameters:
fileName
(System.String)texture
(Cocos2D.CCTexture2D)Returns:
Cocos2D.CCSpriteSheet
AddSpriteSheet(string, string)
Cocos2D.CCSpriteSheet AddSpriteSheet(string, string)(System.String fileName, System.String textureFileName)
Parameters:
fileName
(System.String)textureFileName
(System.String)Returns:
Cocos2D.CCSpriteSheet
DestroyInstance()
DestroyInstance()()
Remove(CCSpriteSheet)
Remove(CCSpriteSheet)(Cocos2D.CCSpriteSheet spriteSheet)
Parameters:
spriteSheet
(Cocos2D.CCSpriteSheet)Remove(string)
Remove(string)(System.String name)
Parameters:
name
(System.String)RemoveAll()
RemoveAll()()
RemoveUnused()
RemoveUnused()()
SpriteSheetForKey(string)
Cocos2D.CCSpriteSheet SpriteSheetForKey(string)(System.String name)
Parameters:
name
(System.String)Returns:
Cocos2D.CCSpriteSheet