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

#include <CCBAnimationManager.h>

Inheritance diagram for CCBAnimationManager:
Ref

Public Member Functions

 CCBAnimationManager ()
 ~CCBAnimationManager ()
virtual bool init ()
cocos2d::Vector< CCBSequence * > & getSequences ()
local getSequences ()
void setSequences (const cocos2d::Vector< CCBSequence * > &seq)
var setSequences ( var seq)
local setSequences ( local seq)
int getAutoPlaySequenceId ()
void setAutoPlaySequenceId (int autoPlaySequenceId)
var setAutoPlaySequenceId ( var autoPlaySequenceId)
local setAutoPlaySequenceId ( local autoPlaySequenceId)
cocos2d::NodegetRootNode ()
void setRootNode (cocos2d::Node *pRootNode)
void addDocumentCallbackNode (cocos2d::Node *node)
var addDocumentCallbackNode ( var node)
local addDocumentCallbackNode ( local node)
void addDocumentCallbackName (std::string name)
void addDocumentCallbackControlEvents (cocos2d::extension::Control::EventType eventType)
var addDocumentCallbackControlEvents ( var eventType)
local addDocumentCallbackControlEvents ( local 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 ()
var getDocumentCallbackNodes ()
local getDocumentCallbackNodes ()
cocos2d::ValueVectorgetDocumentCallbackControlEvents ()
cocos2d::ValueVectorgetDocumentOutletNames ()
cocos2d::Vector< cocos2d::Node * > & getDocumentOutletNodes ()
std::string getLastCompletedSequenceName ()
cocos2d::ValueVectorgetKeyframeCallbacks ()
local getKeyframeCallbacks ()
const cocos2d::SizegetRootContainerSize ()
void setRootContainerSize (const cocos2d::Size &rootContainerSize)
var setRootContainerSize ( var rootContainerSize)
local setRootContainerSize ( local rootContainerSize)
CCBAnimationManagerDelegategetDelegate ()
local getDelegate ()
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::Ref *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)
local runAnimations ( local pName, local fTweenDuration)
CC_DEPRECATED_ATTRIBUTE void runAnimations (const char *pName)
local runAnimations ( local pName)
CC_DEPRECATED_ATTRIBUTE void runAnimations (int nSeqId, float fTweenDuraiton)
var runAnimations ( var nSeqId, var fTweenDuraiton)
local runAnimations ( local nSeqId, local fTweenDuraiton)
void runAnimationsForSequenceNamedTweenDuration (const char *pName, float fTweenDuration)
void runAnimationsForSequenceNamed (const char *pName)
void runAnimationsForSequenceIdTweenDuration (int nSeqId, float fTweenDuraiton)
void setAnimationCompletedCallback (cocos2d::Ref *target, cocos2d::SEL_CallFunc callbackFunc)
 when this function bound to js ,the second param are callfunc_selector More...
 
var setAnimationCompletedCallback ( var target, var 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)
var setCallFuncForJSCallbackNamed ( var callFunc, var callbackNamed)
local setCallFunc ( local callFunc, local callbackNamed)
cocos2d::SequenceactionForCallbackChannel (CCBSequenceProperty *channel)
var actionForCallbackChannel ( var channel)
local actionForCallbackChannel ( local channel)
cocos2d::SequenceactionForSoundChannel (CCBSequenceProperty *channel)
local actionForSoundChannel ( local channel)
int getSequenceId (const char *pSequenceName)
float getSequenceDuration (const char *pSequenceName)
var getSequenceDuration ( var pSequenceName)
local getSequenceDuration ( local pSequenceName)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Release the ownership immediately. More...
 
Refautorelease ()
 Release the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Public Attributes

bool _jsControlled
cocos2d::Ref_owner

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

var ctor ( )

Member Function Documentation

cocos2d::Sequence*
actionForCallbackChannel
( CCBSequenceProperty channel)
var actionForCallbackChannel ( var  channel)
local actionForCallbackChannel ( local  channel)
cocos2d::Sequence*
actionForSoundChannel
( CCBSequenceProperty channel)
var actionForSoundChannel ( var  channel)
local actionForSoundChannel ( local  channel)
void
addDocumentCallbackControlEvents
( cocos2d::extension::Control::EventType  eventType)
var
addDocumentCallbackControlEvents
( var  eventType)
local
addDocumentCallbackControlEvents
( local  eventType)
void addDocumentCallbackName ( std::string  name)
var addDocumentCallbackName ( var  name)
local addDocumentCallbackName ( local  name)
void addDocumentCallbackNode ( cocos2d::Node node)
var addDocumentCallbackNode ( var  node)
local addDocumentCallbackNode ( local  node)
void addDocumentOutletName ( std::string  name)
var addDocumentOutletName ( var  name)
local addDocumentOutletName ( local  name)
void addDocumentOutletNode ( cocos2d::Node node)
var addDocumentOutletNode ( var  node)
local addDocumentOutletNode ( local  node)
void addNode ( cocos2d::Node pNode,
const std::unordered_map< int, cocos2d::Map< std::string, CCBSequenceProperty * >> &  seq 
)
var addNode ( var  pNode,
var  seq 
)
local addNode ( local  pNode,
local  seq 
)
void debug ( )
var debug ( )
local debug ( )
int getAutoPlaySequenceId ( )
var getAutoPlaySequenceId ( )
local getAutoPlaySequenceId ( )
const cocos2d::Size&
getContainerSize
( cocos2d::Node pNode)
var getContainerSize ( var  pNode)
local getContainerSize ( local  pNode)
CCBAnimationManagerDelegate*
getDelegate
( )
var getDelegate ( )
local getDelegate ( )
cocos2d::ValueVector&
getDocumentCallbackControlEvents
( )
var
getDocumentCallbackControlEvents
( )
local
getDocumentCallbackControlEvents
( )
cocos2d::ValueVector&
getDocumentCallbackNames
( )
var getDocumentCallbackNames ( )
local getDocumentCallbackNames ( )
cocos2d::Vector<cocos2d::Node*>
& getDocumentCallbackNodes
( )
var getDocumentCallbackNodes ( )
local getDocumentCallbackNodes ( )
std::string
getDocumentControllerName
( )
var getDocumentControllerName ( )
local getDocumentControllerName ( )
cocos2d::ValueVector&
getDocumentOutletNames
( )
var getDocumentOutletNames ( )
local getDocumentOutletNames ( )
cocos2d::Vector<cocos2d::Node*>
& getDocumentOutletNodes
( )
var getDocumentOutletNodes ( )
local getDocumentOutletNodes ( )
cocos2d::ValueVector&
getKeyframeCallbacks
( )
var getKeyframeCallbacks ( )
local getKeyframeCallbacks ( )
std::string
getLastCompletedSequenceName
( )
var getLastCompletedSequenceName ( )
local getLastCompletedSequenceName ( )
const cocos2d::Size&
getRootContainerSize
( )
var getRootContainerSize ( )
local getRootContainerSize ( )
cocos2d::Node* getRootNode ( )
var getRootNode ( )
local getRootNode ( )
const char* getRunningSequenceName ( )
var getRunningSequenceName ( )
local getRunningSequenceName ( )
float getSequenceDuration ( const char *  pSequenceName)
var getSequenceDuration ( var  pSequenceName)
local getSequenceDuration ( local  pSequenceName)
int getSequenceId ( const char *  pSequenceName)
var getSequenceId ( var  pSequenceName)
local getSequenceId ( local  pSequenceName)
cocos2d::Vector<CCBSequence*>
& getSequences
( )
var getSequences ( )
local getSequences ( )
virtual bool init ( )
virtual
var init ( )
virtual
local init ( )
virtual
void moveAnimationsFromNode ( cocos2d::Node fromNode,
cocos2d::Node toNode 
)
var moveAnimationsFromNode ( var  fromNode,
var  toNode 
)
local moveAnimationsFromNode ( local  fromNode,
local  toNode 
)
CC_DEPRECATED_ATTRIBUTE void
runAnimations
( const char *  pName,
float  fTweenDuration 
)
Deprecated:
This interface will be deprecated sooner or later.
var runAnimations ( var  pName,
var  fTweenDuration 
)
Deprecated:
This interface will be deprecated sooner or later.
local runAnimations ( local  pName,
local  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.
var runAnimations ( var  pName)
Deprecated:
This interface will be deprecated sooner or later.
local runAnimations ( local  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.
var runAnimations ( var  nSeqId,
var  fTweenDuraiton 
)
Deprecated:
This interface will be deprecated sooner or later.
local runAnimations ( local  nSeqId,
local  fTweenDuraiton 
)
Deprecated:
This interface will be deprecated sooner or later.
void
runAnimationsForSequenceIdTweenDuration
( int  nSeqId,
float  fTweenDuraiton 
)
var
runAnimationsForSequenceIdTweenDuration
( var  nSeqId,
var  fTweenDuraiton 
)
local
runAnimationsForSequenceIdTweenDuration
( local  nSeqId,
local  fTweenDuraiton 
)
void runAnimationsForSequenceNamed ( const char *  pName)
var runAnimationsForSequenceNamed ( var  pName)
local runAnimationsForSequenceNamed ( local  pName)
void
runAnimationsForSequenceNamedTweenDuration
( const char *  pName,
float  fTweenDuration 
)
var
runAnimationsForSequenceNamedTweenDuration
( var  pName,
var  fTweenDuration 
)
local
runAnimationsForSequenceNamedTweenDuration
( local  pName,
local  fTweenDuration 
)
void setAnimationCompletedCallback ( cocos2d::Ref target,
cocos2d::SEL_CallFunc  callbackFunc 
)

when this function bound to js ,the second param are callfunc_selector

var setAnimationCompletedCallback ( var  target,
var  callbackFunc 
)

when this function bound to js ,the second param are callfunc_selector

void setAutoPlaySequenceId ( int  autoPlaySequenceId)
var setAutoPlaySequenceId ( var  autoPlaySequenceId)
local setAutoPlaySequenceId ( local  autoPlaySequenceId)
void setBaseValue ( const cocos2d::Value value,
cocos2d::Node pNode,
const std::string &  propName 
)
var setBaseValue ( var  value,
var  pNode,
var  propName 
)
local setBaseValue ( local  value,
local  pNode,
local  propName 
)
void setCallFunc ( cocos2d::CallFunc callFunc,
const std::string &  callbackNamed 
)
var setCallFuncForJSCallbackNamed ( var  callFunc,
var  callbackNamed 
)
local setCallFunc ( local  callFunc,
local  callbackNamed 
)
void setDelegate ( CCBAnimationManagerDelegate pDelegate)
var setDelegate ( var  pDelegate)
local setDelegate ( local  pDelegate)
void setDocumentControllerName ( const std::string &  name)
var setDocumentControllerName ( var  name)
local setDocumentControllerName ( local  name)
void setObject ( cocos2d::Ref obj,
cocos2d::Node pNode,
const std::string &  propName 
)
var setObject ( var  obj,
var  pNode,
var  propName 
)
local setObject ( local  obj,
local  pNode,
local  propName 
)
void setRootContainerSize ( const cocos2d::Size rootContainerSize)
var setRootContainerSize ( var  rootContainerSize)
local setRootContainerSize ( local  rootContainerSize)
void setRootNode ( cocos2d::Node pRootNode)
var setRootNode ( var  pRootNode)
local setRootNode ( local  pRootNode)
void setSequences ( const cocos2d::Vector< CCBSequence * > &  seq)
var setSequences ( var  seq)
local setSequences ( local  seq)

Member Data Documentation

bool _jsControlled
var _jsControlled
local _jsControlled
cocos2d::Ref* _owner
var _owner
local _owner

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