Initializes and returns an Animation Frame object using the specified frame name, delay units and user info values.
- (id)initWithSpriteFrame:(CCSpriteFrame *)spriteFrame delayUnits:(float)delayUnits userInfo:(NSDictionary *)userInfo
Parameters
spriteFrame |
Sprite Frame. |
delayUnits |
Delay time units. |
userInfo |
Custom dictionary. |
Return Value
An initialized CCAnimationFrame Object.
Declared In
CCAnimation.h