cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCBAnimationManager Class Reference

#include <CCBAnimationManager.h>

Inheritance diagram for CCBAnimationManager:
CCObject CCCopying

Public Member Functions

 CCBAnimationManager ()
 ~CCBAnimationManager ()
virtual bool init ()
CCArraygetSequences ()
void setSequences (CCArray *seq)
int getAutoPlaySequenceId ()
void setAutoPlaySequenceId (int autoPlaySequenceId)
CCNodegetRootNode ()
void setRootNode (CCNode *pRootNode)
void addDocumentCallbackNode (CCNode *node)
void addDocumentCallbackName (std::string name)
void addDocumentCallbackControlEvents (CCControlEvent eventType)
void addDocumentOutletNode (CCNode *node)
void addDocumentOutletName (std::string name)
void setDocumentControllerName (const std::string &name)
std::string getDocumentControllerName ()
CCArraygetDocumentCallbackNames ()
CCArraygetDocumentCallbackNodes ()
CCArraygetDocumentCallbackControlEvents ()
CCArraygetDocumentOutletNames ()
CCArraygetDocumentOutletNodes ()
std::string getLastCompletedSequenceName ()
CCArraygetKeyframeCallbacks ()
const CCSizegetRootContainerSize ()
void setRootContainerSize (const CCSize &rootContainerSize)
CCBAnimationManagerDelegategetDelegate ()
void setDelegate (CCBAnimationManagerDelegate *pDelegate)
const char * getRunningSequenceName ()
const CCSizegetContainerSize (CCNode *pNode)
void addNode (CCNode *pNode, CCDictionary *pSeq)
void setBaseValue (CCObject *pValue, CCNode *pNode, const char *pPropName)
void moveAnimationsFromNode (CCNode *fromNode, CCNode *toNode)
CC_DEPRECATED_ATTRIBUTE void runAnimations (const char *pName, float fTweenDuration)
CC_DEPRECATED_ATTRIBUTE void runAnimations (const char *pName)
CC_DEPRECATED_ATTRIBUTE void runAnimations (int nSeqId, float fTweenDuraiton)
void runAnimationsForSequenceNamedTweenDuration (const char *pName, float fTweenDuration)
void runAnimationsForSequenceNamed (const char *pName)
void runAnimationsForSequenceIdTweenDuration (int nSeqId, float fTweenDuraiton)
void setAnimationCompletedCallback (CCObject *target, SEL_CallFunc callbackFunc)
void debug ()
void setCallFunc (CCCallFunc *callFunc, const std::string &callbackNamed)
CCObjectactionForCallbackChannel (CCBSequenceProperty *channel)
CCObjectactionForSoundChannel (CCBSequenceProperty *channel)
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (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)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Public Attributes

bool jsControlled
CCObjectmOwner
- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Additional Inherited Members

- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Constructor & Destructor Documentation

Member Function Documentation

CCObject* actionForCallbackChannel ( CCBSequenceProperty channel)
CCObject* actionForSoundChannel ( CCBSequenceProperty channel)
void
addDocumentCallbackControlEvents
( CCControlEvent  eventType)
void addDocumentCallbackName ( std::string  name)
void addDocumentCallbackNode ( CCNode node)
void addDocumentOutletName ( std::string  name)
void addDocumentOutletNode ( CCNode node)
void addNode ( CCNode pNode,
CCDictionary pSeq 
)
void debug ( )
int getAutoPlaySequenceId ( )
const CCSize& getContainerSize ( CCNode pNode)
CCBAnimationManagerDelegate*
getDelegate
( )
CCArray*
getDocumentCallbackControlEvents
( )
CCArray* getDocumentCallbackNames ( )
CCArray* getDocumentCallbackNodes ( )
std::string
getDocumentControllerName
( )
CCArray* getDocumentOutletNames ( )
CCArray* getDocumentOutletNodes ( )
CCArray* getKeyframeCallbacks ( )
std::string
getLastCompletedSequenceName
( )
const CCSize& getRootContainerSize ( )
CCNode* getRootNode ( )
const char* getRunningSequenceName ( )
CCArray* getSequences ( )
virtual bool init ( )
virtual
void moveAnimationsFromNode ( CCNode fromNode,
CCNode toNode 
)
CC_DEPRECATED_ATTRIBUTE void
runAnimations
( const char *  pName,
float  fTweenDuration 
)
Deprecated:
This interface will be deprecated sooner or later.
CC_DEPRECATED_ATTRIBUTE void
runAnimations
( const char *  pName)
Deprecated:
This interface will be deprecated sooner or later.
CC_DEPRECATED_ATTRIBUTE void
runAnimations
( int  nSeqId,
float  fTweenDuraiton 
)
Deprecated:
This interface will be deprecated sooner or later.
void
runAnimationsForSequenceIdTweenDuration
( int  nSeqId,
float  fTweenDuraiton 
)
void runAnimationsForSequenceNamed ( const char *  pName)
void
runAnimationsForSequenceNamedTweenDuration
( const char *  pName,
float  fTweenDuration 
)
void setAnimationCompletedCallback ( CCObject target,
SEL_CallFunc  callbackFunc 
)
void setAutoPlaySequenceId ( int  autoPlaySequenceId)
void setBaseValue ( CCObject pValue,
CCNode pNode,
const char *  pPropName 
)
void setCallFunc ( CCCallFunc callFunc,
const std::string &  callbackNamed 
)
void setDelegate ( CCBAnimationManagerDelegate pDelegate)
void setDocumentControllerName ( const std::string &  name)
void setRootContainerSize ( const CCSize rootContainerSize)
void setRootNode ( CCNode pRootNode)
void setSequences ( CCArray seq)

Member Data Documentation

bool jsControlled
CCObject* mOwner

The documentation for this class was generated from the following file: