C# Class BBGamelib.CCSprite

Inheritance: CCNodeRGBA, CCSpriteProtocol
Show file Open project: BigWoodGames/cocos2d-unity

Public Methods

Method Description
CCSprite ( ) : UnityEngine
CCSprite ( CCSpriteFrame frame ) : UnityEngine
CCSprite ( string imagedName ) : UnityEngine
ToString ( ) : string
addChild ( CCNode child, int z, string tag ) : void
cleanup ( ) : void
initWithImageNamed ( string imageName ) : void
initWithSpriteFrame ( CCSpriteFrame spriteFrame ) : void
reorderChild ( CCNode child, int z ) : void
updateColor ( ) : void
updateDisplayedColor ( Color32 parentColor ) : void
updateDisplayedOpacity ( byte parentOpacity ) : void
updateTransform ( ) : void

Protected Methods

Method Description
draw ( ) : void
initWithGear ( CCFactoryGear gear ) : void
recycleGear ( ) : void

Method Details

CCSprite() public method

public CCSprite ( ) : UnityEngine
return UnityEngine

CCSprite() public method

public CCSprite ( CCSpriteFrame frame ) : UnityEngine
frame CCSpriteFrame
return UnityEngine

CCSprite() public method

public CCSprite ( string imagedName ) : UnityEngine
imagedName string
return UnityEngine

ToString() public method

public ToString ( ) : string
return string

addChild() public method

public addChild ( CCNode child, int z, string tag ) : void
child CCNode
z int
tag string
return void

cleanup() public method

public cleanup ( ) : void
return void

draw() protected method

protected draw ( ) : void
return void

initWithGear() protected method

protected initWithGear ( CCFactoryGear gear ) : void
gear CCFactoryGear
return void

initWithImageNamed() public method

public initWithImageNamed ( string imageName ) : void
imageName string
return void

initWithSpriteFrame() public method

public initWithSpriteFrame ( CCSpriteFrame spriteFrame ) : void
spriteFrame CCSpriteFrame
return void

recycleGear() protected method

protected recycleGear ( ) : void
return void

reorderChild() public method

public reorderChild ( CCNode child, int z ) : void
child CCNode
z int
return void

updateColor() public method

public updateColor ( ) : void
return void

updateDisplayedColor() public method

public updateDisplayedColor ( Color32 parentColor ) : void
parentColor UnityEngine.Color32
return void

updateDisplayedOpacity() public method

public updateDisplayedOpacity ( byte parentOpacity ) : void
parentOpacity byte
return void

updateTransform() public method

public updateTransform ( ) : void
return void