CCAnimationFrame Class Reference
| Inherits from | NSObject |
| Conforms to | NSCopying |
| Declared in | CCAnimation.h |
Overview
CCAnimationFrame A frame of the animation. It contains information like:
- sprite frame name
- # of delay units.
- offset
Tasks
-
spriteFrameCCSpriteFrameName to be used
property -
delayUnitshow many units of time the frame takes
property -
userInfoA CCAnimationFrameDisplayedNotification notification will be broadcasted when the frame is displayed with this dictionary as UserInfo. If UserInfo is nil, then no notification will be broadcasted.
property -
– initWithSpriteFrame:delayUnits:userInfo:initializes the animation frame with a spriteframe, number of delay units and a notification user info
Properties
delayUnits
how many units of time the frame takes
@property (nonatomic, readwrite) float delayUnitsDeclared In
CCAnimation.h