#include <CCBAnimationManager.h>
Public Member Functions | |
CCBAnimationManager () | |
~CCBAnimationManager () | |
virtual bool | init () |
Array * | getSequences () |
var | getSequences () |
local | getSequences () |
void | setSequences (Array *seq) |
int | getAutoPlaySequenceId () |
void | setAutoPlaySequenceId (int autoPlaySequenceId) |
var | setAutoPlaySequenceId ( var autoPlaySequenceId) |
local | setAutoPlaySequenceId ( local autoPlaySequenceId) |
Node * | getRootNode () |
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 () |
Array * | getDocumentCallbackNames () |
Array * | getDocumentCallbackNodes () |
Array * | getDocumentCallbackControlEvents () |
var | getDocumentCallbackControlEvents () |
local | getDocumentCallbackControlEvents () |
Array * | getDocumentOutletNames () |
local | getDocumentOutletNames () |
Array * | getDocumentOutletNodes () |
std::string | getLastCompletedSequenceName () |
var | getLastCompletedSequenceName () |
local | getLastCompletedSequenceName () |
Array * | getKeyframeCallbacks () |
const Size & | getRootContainerSize () |
void | setRootContainerSize (const Size &rootContainerSize) |
var | setRootContainerSize ( var rootContainerSize) |
local | setRootContainerSize ( local rootContainerSize) |
CCBAnimationManagerDelegate * | getDelegate () |
local | getDelegate () |
void | setDelegate (CCBAnimationManagerDelegate *pDelegate) |
const char * | getRunningSequenceName () |
const Size & | getContainerSize (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) |
Object * | actionForCallbackChannel (CCBSequenceProperty *channel) |
var | actionForCallbackChannel ( var channel) |
local | actionForCallbackChannel ( local channel) |
Object * | actionForSoundChannel (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... | |
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... | |
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... | |
var ctor | ( | ) |
local CCBAnimationManager | ( | ) |
~CCBAnimationManager | ( | ) |
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 | ( | ) |
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 |
|
virtual |
|
virtual |
var moveAnimationsFromNode | ( | var | fromNode, |
var | toNode | ||
) |
local moveAnimationsFromNode | ( | local | fromNode, |
local | toNode | ||
) |
CC_DEPRECATED_ATTRIBUTE void runAnimations |
( | const char * | pName, |
float | fTweenDuration | ||
) |
var runAnimations | ( | var | pName, |
var | fTweenDuration | ||
) |
local runAnimations | ( | local | pName, |
local | fTweenDuration | ||
) |
CC_DEPRECATED_ATTRIBUTE void runAnimations |
( | const char * | pName) |
var runAnimations | ( | var | 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 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) |
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) |
bool _jsControlled |
var _jsControlled |
local _jsControlled |
Object* _owner |
var _owner |
local _owner |