Skip to main content

CCSpriteSheet

CCSpriteSheet

Cocos2D

Inheritance: System.Object

Constructors

CCSpriteSheet(PlistDictionary, CCTexture2D)

CCSpriteSheet(PlistDictionary, CCTexture2D)(Cocos2D.PlistDictionary dictionary, Cocos2D.CCTexture2D texture)
Parameters:
dictionary (Cocos2D.PlistDictionary)
texture (Cocos2D.CCTexture2D)

CCSpriteSheet(Dictionary)

CCSpriteSheet(Dictionary)(System.Collections.Generic.DictionarySystem.String,Cocos2D.CCSpriteFrame frames)
Parameters:
frames (System.Collections.Generic.DictionarySystem.String,Cocos2D.CCSpriteFrame)

CCSpriteSheet(Stream, CCTexture2D)

CCSpriteSheet(Stream, CCTexture2D)(System.IO.Stream stream, Cocos2D.CCTexture2D texture)
Parameters:
stream (System.IO.Stream)
texture (Cocos2D.CCTexture2D)

CCSpriteSheet(Stream, string)

CCSpriteSheet(Stream, string)(System.IO.Stream stream, System.String texture)
Parameters:
stream (System.IO.Stream)
texture (System.String)

CCSpriteSheet(string)

CCSpriteSheet(string)(System.String fileName)
Parameters:
fileName (System.String)

CCSpriteSheet(string, CCTexture2D)

CCSpriteSheet(string, CCTexture2D)(System.String fileName, Cocos2D.CCTexture2D texture)
Parameters:
fileName (System.String)
texture (Cocos2D.CCTexture2D)

CCSpriteSheet(string, string)

CCSpriteSheet(string, string)(System.String fileName, System.String textureFileName)
Parameters:
fileName (System.String)
textureFileName (System.String)

Properties

Frames(System.Collections.Generic.ListCocos2D.CCSpriteFrame)
this[string](Cocos2D.CCSpriteFrame)

Methods

SpriteFrameByName(string)

Cocos2D.CCSpriteFrame SpriteFrameByName(string)(System.String name)
Parameters:
name (System.String)
Returns:
Cocos2D.CCSpriteFrame