Class CCAnimate

#include <Geode/cocos/actions/CCActionInterval.h>
classCCAnimate:publiccocos2d::CCActionInterval{ ... }

Animates a sprite given the name of an Animation

Examples0
Public static methods1
staticcocos2d::CCAnimate*create()

creates the action with an Animation and will restore the original frame when the animation is over

Public member functions12
boolinitWithAnimation()

initializes the action with an Animation and will restore the original frame when the animation is over

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidstop()
No description provided
virtualvoidupdate()
No description provided
virtualcocos2d::CCActionInterval*reverse()
No description provided
boolgetRecenterChildren()const
No description provided
boolgetRecenterFrames()const
No description provided
voidsetRecenterChildren(
boolrecenter
)
No description provided
voidsetRecenterFrames(
boolrecenter
)
No description provided
virtualcocos2d::CCAnimation*getAnimation()const
No description provided
virtualvoidsetAnimation()
No description provided
Fields0
Protected member functions0
Protected fields4
std::vector<float>*m_pSplitTimes
;
No description provided
intm_nNextFrame
;
No description provided
;
No description provided
uintm_uExecutedLoops
;
No description provided