#include <CCBAnimationManager.h>
Public Member Functions | |
| CCBAnimationManager () | |
| ~CCBAnimationManager () | |
| virtual bool | init () |
| cocos2d::Vector< CCBSequence * > & | getSequences () |
| void | setSequences (const cocos2d::Vector< CCBSequence * > &seq) |
| int | getAutoPlaySequenceId () |
| void | setAutoPlaySequenceId (int autoPlaySequenceId) |
| cocos2d::Node * | getRootNode () |
| void | setRootNode (cocos2d::Node *pRootNode) |
| void | addDocumentCallbackNode (cocos2d::Node *node) |
| void | addDocumentCallbackName (std::string name) |
| void | addDocumentCallbackControlEvents (cocos2d::extension::Control::EventType eventType) |
| void | addDocumentOutletNode (cocos2d::Node *node) |
| void | addDocumentOutletName (std::string name) |
| void | setDocumentControllerName (const std::string &name) |
| std::string | getDocumentControllerName () |
| cocos2d::ValueVector & | getDocumentCallbackNames () |
| cocos2d::Vector< cocos2d::Node * > & | getDocumentCallbackNodes () |
| cocos2d::ValueVector & | getDocumentCallbackControlEvents () |
| cocos2d::ValueVector & | getDocumentOutletNames () |
| cocos2d::Vector< cocos2d::Node * > & | getDocumentOutletNodes () |
| std::string | getLastCompletedSequenceName () |
| cocos2d::ValueVector & | getKeyframeCallbacks () |
| const cocos2d::Size & | getRootContainerSize () |
| void | setRootContainerSize (const cocos2d::Size &rootContainerSize) |
| CCBAnimationManagerDelegate * | getDelegate () |
| void | setDelegate (CCBAnimationManagerDelegate *pDelegate) |
| const char * | getRunningSequenceName () |
| const cocos2d::Size & | getContainerSize (cocos2d::Node *pNode) |
| void | addNode (cocos2d::Node *pNode, const std::unordered_map< int, cocos2d::Map< std::string, CCBSequenceProperty * >> &seq) |
| void | setBaseValue (const cocos2d::Value &value, cocos2d::Node *pNode, const std::string &propName) |
| void | setObject (cocos2d::Object *obj, cocos2d::Node *pNode, const std::string &propName) |
| void | moveAnimationsFromNode (cocos2d::Node *fromNode, cocos2d::Node *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 (cocos2d::Object *target, cocos2d::SEL_CallFunc callbackFunc) |
| when this function bound to js ,the second param are callfunc_selector More... | |
| void | debug () |
| void | setCallFunc (cocos2d::CallFunc *callFunc, const std::string &callbackNamed) |
| cocos2d::Object * | actionForCallbackChannel (CCBSequenceProperty *channel) |
| cocos2d::Object * | actionForSoundChannel (CCBSequenceProperty *channel) |
| int | getSequenceId (const char *pSequenceName) |
| float | getSequenceDuration (const char *pSequenceName) |
Public Member Functions inherited from Object | |
| Object () | |
| Constructor. More... | |
| Object () | |
| Constructor. More... | |
| virtual | ~Object () |
| void | release () |
| Release the ownership immediately. More... | |
| void | retain () |
| Retains the ownership. More... | |
| Object * | autorelease () |
| Release the ownership sometime soon automatically. More... | |
| bool | isSingleReference () const |
| Returns a boolean value that indicates whether there is only one reference to the object. More... | |
| unsigned int | retainCount () const |
| Returns the object's current reference count. More... | |
| local | retainCount () |
| Returns the object's current reference count. More... | |
| virtual bool | isEqual (const Object *object) |
| Returns a boolean value that indicates whether this object and a given object are equal. More... | |
| virtual void | acceptVisitor (DataVisitor &visitor) |
| virtual void | update (float dt) |
Public Attributes | |
| bool | _jsControlled |
| cocos2d::Object * | _owner |
Public Attributes inherited from Object | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID More... | |
| int | _luaID |
| Lua reference id. More... | |
| var | _luaID |
| Lua reference id. More... | |
| local | _luaID |
| Lua reference id. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Object | |
| unsigned int | _reference |
| count of references More... | |
| var | _reference |
| count of references More... | |
| local | _reference |
| count of references More... | |
| unsigned int | _autoReleaseCount |
| count of autorelease More... | |
| var | _autoReleaseCount |
| count of autorelease More... | |
| local | _autoReleaseCount |
| count of autorelease More... | |
| ~CCBAnimationManager | ( | ) |
| cocos2d::Object* actionForCallbackChannel |
( | CCBSequenceProperty * | channel) |
| cocos2d::Object* actionForSoundChannel |
( | CCBSequenceProperty * | channel) |
| void addDocumentCallbackControlEvents |
( | cocos2d::extension::Control::EventType | eventType) |
| void addDocumentCallbackName | ( | std::string | name) |
| void addDocumentCallbackNode | ( | cocos2d::Node * | node) |
| void addDocumentOutletName | ( | std::string | name) |
| void addDocumentOutletNode | ( | cocos2d::Node * | node) |
| void addNode | ( | cocos2d::Node * | pNode, |
| const std::unordered_map< int, cocos2d::Map< std::string, CCBSequenceProperty * >> & | seq | ||
| ) |
| void debug | ( | ) |
| int getAutoPlaySequenceId | ( | ) |
| const cocos2d::Size& getContainerSize |
( | cocos2d::Node * | pNode) |
| CCBAnimationManagerDelegate* getDelegate |
( | ) |
| cocos2d::ValueVector& getDocumentCallbackControlEvents |
( | ) |
| cocos2d::ValueVector& getDocumentCallbackNames |
( | ) |
| cocos2d::Vector<cocos2d::Node*> & getDocumentCallbackNodes |
( | ) |
| std::string getDocumentControllerName |
( | ) |
| cocos2d::ValueVector& getDocumentOutletNames |
( | ) |
| cocos2d::Vector<cocos2d::Node*> & getDocumentOutletNodes |
( | ) |
| cocos2d::ValueVector& getKeyframeCallbacks |
( | ) |
| std::string getLastCompletedSequenceName |
( | ) |
| const cocos2d::Size& getRootContainerSize |
( | ) |
| cocos2d::Node* getRootNode | ( | ) |
| const char* getRunningSequenceName | ( | ) |
| float getSequenceDuration | ( | const char * | pSequenceName) |
| int getSequenceId | ( | const char * | pSequenceName) |
| cocos2d::Vector<CCBSequence*> & getSequences |
( | ) |
|
virtual |
| void moveAnimationsFromNode | ( | cocos2d::Node * | fromNode, |
| cocos2d::Node * | 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 runAnimationsForSequenceIdTweenDuration |
( | int | nSeqId, |
| float | fTweenDuraiton | ||
| ) |
| void runAnimationsForSequenceNamed | ( | const char * | pName) |
| void runAnimationsForSequenceNamedTweenDuration |
( | const char * | pName, |
| float | fTweenDuration | ||
| ) |
| void setAnimationCompletedCallback | ( | cocos2d::Object * | target, |
| cocos2d::SEL_CallFunc | callbackFunc | ||
| ) |
when this function bound to js ,the second param are callfunc_selector
| void setAutoPlaySequenceId | ( | int | autoPlaySequenceId) |
| void setBaseValue | ( | const cocos2d::Value & | value, |
| cocos2d::Node * | pNode, | ||
| const std::string & | propName | ||
| ) |
| void setCallFunc | ( | cocos2d::CallFunc * | callFunc, |
| const std::string & | callbackNamed | ||
| ) |
| void setDelegate | ( | CCBAnimationManagerDelegate * | pDelegate) |
| void setDocumentControllerName | ( | const std::string & | name) |
| void setObject | ( | cocos2d::Object * | obj, |
| cocos2d::Node * | pNode, | ||
| const std::string & | propName | ||
| ) |
| void setRootContainerSize | ( | const cocos2d::Size & | rootContainerSize) |
| void setRootNode | ( | cocos2d::Node * | pRootNode) |
| void setSequences | ( | const cocos2d::Vector< CCBSequence * > & | seq) |
| bool _jsControlled |
| cocos2d::Object* _owner |