Playable Class

Module: cc

Index

Properties
  • isPlaying Boolean Is playing or paused in play mode?
  • isPaused Boolean Is currently paused? This can be true even if in edit mode(isPlaying == false).
Methods

Details

Properties

isPlaying

Is playing or paused in play mode?

meta description
Type Boolean
Defined in cocos2d/animation/playable.js:44
isPaused

Is currently paused? This can be true even if in edit mode(isPlaying == false).

meta description
Type Boolean
Defined in cocos2d/animation/playable.js:56

Methods

onPlay
meta description
Defined in cocos2d/animation/playable.js:71
onPause
meta description
Defined in cocos2d/animation/playable.js:76
onResume
meta description
Defined in cocos2d/animation/playable.js:81
onStop
meta description
Defined in cocos2d/animation/playable.js:86
onError
meta description
Defined in cocos2d/animation/playable.js:91
Parameters
play

Play this animation.

meta description
Defined in cocos2d/animation/playable.js:100
stop

Stop this animation.

meta description
Defined in cocos2d/animation/playable.js:121
pause

Pause this animation.

meta description
Defined in cocos2d/animation/playable.js:136
resume

Resume this animation.

meta description
Defined in cocos2d/animation/playable.js:148
step

Perform a single frame step.

meta description
Defined in cocos2d/animation/playable.js:160

results matching ""

    No results matching ""