CCAnimationFrame A frame of the animation. More...
#include <CCAnimation.h>
Public Member Functions | |
CCAnimationFrame () | |
virtual | ~CCAnimationFrame () |
virtual CCObject * | copyWithZone (CCZone *pZone) |
bool | initWithSpriteFrame (CCSpriteFrame *spriteFrame, float delayUnits, CCDictionary *userInfo) |
initializes the animation frame with a spriteframe, number of delay units and a notification user info More... | |
virtual CCSpriteFrame * | getSpriteFrame (void) |
getSpriteFrame More... | |
virtual void | setSpriteFrame (CCSpriteFrame *var) |
setSpriteFrame More... | |
local | setSpriteFrame ( local var) |
setSpriteFrame More... | |
virtual CCDictionary * | getUserInfo (void) |
getUserInfo More... | |
virtual void | setUserInfo (CCDictionary *var) |
setUserInfo More... | |
var | setUserInfo ( var var) |
setUserInfo More... | |
local | setUserInfo ( local var) |
setUserInfo More... | |
![]() | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
Protected Attributes | |
CCSpriteFrame * | m_pSpriteFrame |
CCSpriteFrameName to be used. More... | |
float | m_fDelayUnits |
how many units of time the frame takes More... | |
var | m_fDelayUnits |
how many units of time the frame takes More... | |
local | m_fDelayUnits |
how many units of time the frame takes More... | |
CCDictionary * | m_pUserInfo |
getDelayUnits More... | |
![]() | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
![]() | |
unsigned int | m_uID |
int | m_nLuaID |
CCAnimationFrame A frame of the animation.
It contains information like:
CCAnimationFrame | ( | ) |
var ctor | ( | ) |
local CCAnimationFrame | ( | ) |
|
virtual |
|
virtual |
getSpriteFrame
|
virtual |
getSpriteFrame
|
virtual |
getSpriteFrame
|
virtual |
getUserInfo
|
virtual |
getUserInfo
|
virtual |
getUserInfo
bool initWithSpriteFrame | ( | CCSpriteFrame * | spriteFrame, |
float | delayUnits, | ||
CCDictionary * | userInfo | ||
) |
initializes the animation frame with a spriteframe, number of delay units and a notification user info
var initWithSpriteFrame | ( | var | spriteFrame, |
var | delayUnits, | ||
var | userInfo | ||
) |
initializes the animation frame with a spriteframe, number of delay units and a notification user info
local initWithSpriteFrame | ( | local | spriteFrame, |
local | delayUnits, | ||
local | userInfo | ||
) |
initializes the animation frame with a spriteframe, number of delay units and a notification user info
|
virtual |
setSpriteFrame
|
virtual |
setSpriteFrame
|
virtual |
setSpriteFrame
|
virtual |
setUserInfo
|
virtual |
setUserInfo
|
virtual |
setUserInfo
|
protected |
how many units of time the frame takes
|
protected |
how many units of time the frame takes
|
protected |
how many units of time the frame takes
|
protected |
CCSpriteFrameName to be used.
|
protected |
CCSpriteFrameName to be used.
|
protected |
CCSpriteFrameName to be used.
|
protected |
getDelayUnits
setDelayUnits 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.
|
protected |
getDelayUnits
setDelayUnits 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.
|
protected |
getDelayUnits
setDelayUnits 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.