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

#include <CCBAnimationManager.h>

Inheritance diagram for CCBAnimationManager:
Object

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::NodegetRootNode ()
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::ValueVectorgetDocumentCallbackNames ()
cocos2d::Vector< cocos2d::Node * > & getDocumentCallbackNodes ()
cocos2d::ValueVectorgetDocumentCallbackControlEvents ()
cocos2d::ValueVectorgetDocumentOutletNames ()
cocos2d::Vector< cocos2d::Node * > & getDocumentOutletNodes ()
std::string getLastCompletedSequenceName ()
cocos2d::ValueVectorgetKeyframeCallbacks ()
const cocos2d::SizegetRootContainerSize ()
void setRootContainerSize (const cocos2d::Size &rootContainerSize)
CCBAnimationManagerDelegategetDelegate ()
void setDelegate (CCBAnimationManagerDelegate *pDelegate)
const char * getRunningSequenceName ()
const cocos2d::SizegetContainerSize (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::ObjectactionForCallbackChannel (CCBSequenceProperty *channel)
cocos2d::ObjectactionForSoundChannel (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...
 
Objectautorelease ()
 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...
 

Constructor & Destructor Documentation

Member Function Documentation

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 bool init ( )
virtual
void moveAnimationsFromNode ( cocos2d::Node fromNode,
cocos2d::Node 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 ( 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)

Member Data Documentation

bool _jsControlled
cocos2d::Object* _owner

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