Difference between revisions of "CSprite"
From King Arthur's Gold Wiki
Line 28: | Line 28: | ||
| [[CSprite::ForceUpdate|ForceUpdate]] | | [[CSprite::ForceUpdate|ForceUpdate]] | ||
| {{:CSprite::ForceUpdate|ForceUpdate}} | | {{:CSprite::ForceUpdate|ForceUpdate}} | ||
+ | |- | ||
+ | | [[CSprite::animation|animation]] | ||
+ | | {{:CSprite::animation|animation}} | ||
|- | |- | ||
| [[CSprite::getAnimation|getAnimation]] | | [[CSprite::getAnimation|getAnimation]] |
Revision as of 12:40, 10 September 2012
Methods:
Method | Description |
---|---|
getBlob |
Returns a reference to the CBlob that owns this object. It is a method common to several object types that are considered 'components'. |
SetActive |
|
RemoveScript |
|
AddScript |
|
getConsts |
|
getVars |
|
ForceUpdate |
|
animation | CSprite::animation |
getAnimation |
|
SetAnimation |
|
addAnimation |
|
isAnimation |
|
isAnimationEnded |
|
isFrame |
|
getFrame |
|
SetFrameIndex |
|
isFrameIndex |
|
getFrameIndex |
|
ResetWorldTransform |
|
TranslateAllBy |
|
RotateAllBy |
|
getWorldRotation |
|
getWorldTranslation |
|
RotateBy |
|
SetOffset |
|
SetRelativeZ |
|
SetZ |
|
SetFacingLeft |
|
SetVisible |
|
isVisible |
|
getRotation |
|
getRelativeZ |
|
isFacingLeft |
|
getOffset |
|
LookAtPoint |
|
getFilename |
|
getFrameWidth |
|
getFrameHeight |
|
addSpriteLayer |
|
getSpriteLayerCount |
|
getSpriteLayer |
|
ReloadSprite |
|
ReloadSprites |
|
Gib |
|
Properties:
Property | Type | Description |
---|---|---|
animation | Animation@ |