|
bool | init (GAFAsset *anAsset) |
|
void | processAnimations (float dt) |
|
CCPoint | pupilCoordinatesWithXSemiaxis (float anXSemiaxis, float anYSemiaxis, CCPoint aCenter, CCPoint anExternalPoint) |
|
GAFSprite * | subObjectForInnerObjectId (CCString *anInnerObjectId) |
|
void | removeAllSubObjects () |
|
void | addSubObjectsUsingAnimationObjectsDictionary (CCDictionary *anAnimationObjects, CCDictionary *anAnimationMasks, CCArray *anAnimationFrames) |
|
void | setSubobjectsVisible (bool visible) |
|
CCDictionary * | subObjects () |
|
CCDictionary * | masks () |
|
void | animatorDidPlayedFrame (GAFAnimator *anAnimator, int aFrameNo) |
|
GAFSprite * | subobjectByName (const char *name) |
| Returns subobject which has specified name assigned to it ("namedParts" section in config)
|
|
GAFSprite * | subobjectByRawName (const char *name) |
|
virtual void | start () |
|
virtual void | stop () |
|
virtual void | processAnimation () |
|
bool | captureControlOverSubobjectNamed (const char *aName, GAFAnimatedObjectControlFlags aControlFlags) |
|
void | releaseControlOverSubobjectNamed (const char *aName) |
| Releases control over subobject captured earlier.
|
|
void | setFramePlayedDelegate (GAFFramePlayedDelegate *delegate) |
|
void | setControlDelegate (GAFAnimatedObjectControlDelegate *delegate) |
|
CCRect | realBoundingBoxForCurrentFrame () |
|
bool | init (GAFAsset *anAnimationData) |
|
virtual void | pause () |
|
virtual void | resume () |
|
virtual void | step () |
|
bool | isDone () const |
|
bool | isAnimationRunning () const |
|
bool | isLooped () const |
|
void | setLooped (bool looped) |
|
int | totalFrameCount () const |
|
int | currentFrameIndex () const |
|
bool | setFrame (int index) |
|
bool | gotoAndStop (const char *frameLabel) |
| Plays specified frame and then stops.
|
|
bool | gotoAndStop (int frameNumber) |
|
bool | gotoAndPlay (const char *frameLabel) |
| Plays animation from specified frame.
|
|
bool | gotoAndPlay (int frameNumber) |
|
int | getStartFrame (const char *frameLabel) |
|
int | getEndFrame (const char *frameLabel) |
|
bool | playSequence (const char *name, bool looped=false, bool resume=true, AnimSetSequenceHint hint=ASSH_RESTART) |
|
void | clearSequence () |
|
void | setSequenceDelegate (GAFSequenceDelegate *delegate) |
|
bool | hasSequences () const |
|