CCAnimationFrame A frame of the animation. It contains information like:
- sprite frame name
of delay units.
- offset
#include <Geode/cocos/sprite_nodes/CCAnimation.h>
Since v2.0
CCAnimationFrame A frame of the animation. It contains information like:
initializes the animation frame with a spriteframe, number of delay units and a notification user info
CCSpriteFrameName to be used
CCSpriteFrameName to be used
how many units of time the frame takes
A CCAnimationFrameDisplayedNotification notification will be broadcast when the frame is displayed with this dictionary as UserInfo. If UserInfo is nil, then no notification will be broadcast.
A CCAnimationFrameDisplayedNotification notification will be broadcast when the frame is displayed with this dictionary as UserInfo. If UserInfo is nil, then no notification will be broadcast.
how many units of time the frame takes