Animates a sprite given the name of an Animation
Class CCAnimate
#include <Geode/cocos/actions/CCActionInterval.h>
classCCAnimate:publiccocos2d::CCActionInterval{ ... }
Examples0
Public static methods1
staticcocos2d::CCAnimate*create(cocos2d::CCAnimation*pAnimation)
creates the action with an Animation and will restore the original frame when the animation is over
Public member functions12
boolinitWithAnimation(cocos2d::CCAnimation*pAnimation)
initializes the action with an Animation and will restore the original frame when the animation is over
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidstartWithTarget(cocos2d::CCNode*pTarget)
No description provided
virtualvoidstop()
No description provided
virtualcocos2d::CCActionInterval*reverse()
No description provided
boolgetRecenterChildren()const
No description provided
boolgetRecenterFrames()const
No description provided
virtualcocos2d::CCAnimation*getAnimation()const
No description provided
virtualvoidsetAnimation()
No description provided
Fields4
;
No description provided
intm_nNextFrame;
No description provided
cocos2d::CCSpriteFrame*m_pOrigFrame;
No description provided
uintm_uExecutedLoops;
No description provided