cocos2d-x  3.0-alpha0
 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 ()
ArraygetSequences ()
var getSequences ()
local getSequences ()
void setSequences (Array *seq)
int getAutoPlaySequenceId ()
void setAutoPlaySequenceId (int autoPlaySequenceId)
var setAutoPlaySequenceId ( var autoPlaySequenceId)
local setAutoPlaySequenceId ( local autoPlaySequenceId)
NodegetRootNode ()
void setRootNode (Node *pRootNode)
void addDocumentCallbackNode (Node *node)
var addDocumentCallbackNode ( var node)
local addDocumentCallbackNode ( local node)
void addDocumentCallbackName (std::string name)
var addDocumentCallbackName ( var name)
local addDocumentCallbackName ( local name)
void addDocumentCallbackControlEvents (Control::EventType eventType)
var addDocumentCallbackControlEvents ( var eventType)
local addDocumentCallbackControlEvents ( local eventType)
void addDocumentOutletNode (Node *node)
void addDocumentOutletName (std::string name)
var addDocumentOutletName ( var name)
local addDocumentOutletName ( local name)
void setDocumentControllerName (const std::string &name)
std::string getDocumentControllerName ()
ArraygetDocumentCallbackNames ()
ArraygetDocumentCallbackNodes ()
ArraygetDocumentCallbackControlEvents ()
var getDocumentCallbackControlEvents ()
local getDocumentCallbackControlEvents ()
ArraygetDocumentOutletNames ()
local getDocumentOutletNames ()
ArraygetDocumentOutletNodes ()
std::string getLastCompletedSequenceName ()
var getLastCompletedSequenceName ()
local getLastCompletedSequenceName ()
ArraygetKeyframeCallbacks ()
const SizegetRootContainerSize ()
void setRootContainerSize (const Size &rootContainerSize)
var setRootContainerSize ( var rootContainerSize)
local setRootContainerSize ( local rootContainerSize)
CCBAnimationManagerDelegategetDelegate ()
local getDelegate ()
void setDelegate (CCBAnimationManagerDelegate *pDelegate)
const char * getRunningSequenceName ()
const SizegetContainerSize (Node *pNode)
void addNode (Node *pNode, Dictionary *pSeq)
var addNode ( var pNode, var pSeq)
local addNode ( local pNode, local pSeq)
void setBaseValue (Object *pValue, Node *pNode, const char *propName)
void moveAnimationsFromNode (Node *fromNode, Node *toNode)
var moveAnimationsFromNode ( var fromNode, var toNode)
local moveAnimationsFromNode ( local fromNode, local 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)
local runAnimations ( local nSeqId, local fTweenDuraiton)
void runAnimationsForSequenceNamedTweenDuration (const char *pName, float fTweenDuration)
void runAnimationsForSequenceNamed (const char *pName)
void runAnimationsForSequenceIdTweenDuration (int nSeqId, float fTweenDuraiton)
var runAnimationsForSequenceIdTweenDuration ( var nSeqId, var fTweenDuraiton)
local runAnimationsForSequenceIdTweenDuration ( local nSeqId, local fTweenDuraiton)
void setAnimationCompletedCallback (Object *target, SEL_CallFunc callbackFunc)
 when this function bound to js ,the second param are callfunc_selector More...
 
void debug ()
void setCallFunc (CallFunc *callFunc, const std::string &callbackNamed)
ObjectactionForCallbackChannel (CCBSequenceProperty *channel)
var actionForCallbackChannel ( var channel)
local actionForCallbackChannel ( local channel)
ObjectactionForSoundChannel (CCBSequenceProperty *channel)
int getSequenceId (const char *pSequenceName)
float getSequenceDuration (const char *pSequenceName)
var getSequenceDuration ( var pSequenceName)
local getSequenceDuration ( local pSequenceName)
- Public Member Functions inherited from Object
 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...
 
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
Object_owner
- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _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

var ctor ( )

Member Function Documentation

Object* actionForCallbackChannel ( CCBSequenceProperty channel)
var actionForCallbackChannel ( var  channel)
local actionForCallbackChannel ( local  channel)
Object* actionForSoundChannel ( CCBSequenceProperty channel)
var actionForSoundChannel ( var  channel)
local actionForSoundChannel ( local  channel)
void
addDocumentCallbackControlEvents
( 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 ( 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 ( Node node)
var addDocumentOutletNode ( var  node)
local addDocumentOutletNode ( local  node)
void addNode ( Node pNode,
Dictionary pSeq 
)
var addNode ( var  pNode,
var  pSeq 
)
local addNode ( local  pNode,
local  pSeq 
)
void debug ( )
var debug ( )
local debug ( )
int getAutoPlaySequenceId ( )
var getAutoPlaySequenceId ( )
local getAutoPlaySequenceId ( )
const Size& getContainerSize ( Node pNode)
var getContainerSize ( var  pNode)
local getContainerSize ( local  pNode)
CCBAnimationManagerDelegate*
getDelegate
( )
var getDelegate ( )
local getDelegate ( )
Array*
getDocumentCallbackControlEvents
( )
var
getDocumentCallbackControlEvents
( )
local
getDocumentCallbackControlEvents
( )
Array* getDocumentCallbackNames ( )
var getDocumentCallbackNames ( )
local getDocumentCallbackNames ( )
Array* getDocumentCallbackNodes ( )
var getDocumentCallbackNodes ( )
local getDocumentCallbackNodes ( )
std::string
getDocumentControllerName
( )
var getDocumentControllerName ( )
local getDocumentControllerName ( )
Array* getDocumentOutletNames ( )
var getDocumentOutletNames ( )
local getDocumentOutletNames ( )
Array* getDocumentOutletNodes ( )
var getDocumentOutletNodes ( )
local getDocumentOutletNodes ( )
Array* getKeyframeCallbacks ( )
var getKeyframeCallbacks ( )
local getKeyframeCallbacks ( )
std::string
getLastCompletedSequenceName
( )
var getLastCompletedSequenceName ( )
local getLastCompletedSequenceName ( )
const Size& getRootContainerSize ( )
var getRootContainerSize ( )
local getRootContainerSize ( )
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)
Array* getSequences ( )
var getSequences ( )
local getSequences ( )
virtual bool init ( )
virtual
var init ( )
virtual
local init ( )
virtual
void moveAnimationsFromNode ( Node fromNode,
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 ( Object target,
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 ( Object pValue,
Node pNode,
const char *  propName 
)
var setBaseValue ( var  pValue,
var  pNode,
var  propName 
)
local setBaseValue ( local  pValue,
local  pNode,
local  propName 
)
void setCallFunc ( 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 setRootContainerSize ( const Size rootContainerSize)
var setRootContainerSize ( var  rootContainerSize)
local setRootContainerSize ( local  rootContainerSize)
void setRootNode ( Node pRootNode)
var setRootNode ( var  pRootNode)
local setRootNode ( local  pRootNode)
void setSequences ( Array seq)
var setSequences ( var  seq)
local setSequences ( local  seq)

Member Data Documentation

bool _jsControlled
var _jsControlled
local _jsControlled
Object* _owner
var _owner
local _owner

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