Difference between revisions of "CSprite"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) |
|||
Line 136: | Line 136: | ||
| [[CSprite::Gib|Gib]] | | [[CSprite::Gib|Gib]] | ||
| {{:CSprite::Gib|Gib}} | | {{:CSprite::Gib|Gib}} | ||
+ | |- | ||
+ | | [[CSprite::TranslateBy|TranslateBy]] | ||
+ | | {{:CSprite::TranslateBy|TranslateBy}} | ||
+ | |- | ||
+ | | [[CSprite::ScaleBy|ScaleBy]] | ||
+ | | {{:CSprite::ScaleBy|ScaleBy}} | ||
+ | |- | ||
+ | | [[CSprite::ResetTransform|ResetTransform]] | ||
+ | | {{:CSprite::ResetTransform|ResetTransform}} | ||
|- | |- | ||
|} | |} |
Latest revision as of 12:36, 14 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 |
|
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 |
|
TranslateBy |
|
ScaleBy |
|
ResetTransform |
|
Properties:
Property | Type | Description |
---|---|---|
animation | Animation@ |