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:43
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:55

Methods

onPlay
meta description
Defined in cocos2d/animation/playable.js:70
onPause
meta description
Defined in cocos2d/animation/playable.js:75
onResume
meta description
Defined in cocos2d/animation/playable.js:80
onStop
meta description
Defined in cocos2d/animation/playable.js:85
onError
meta description
Defined in cocos2d/animation/playable.js:90
Parameters
play

Play this animation.

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

Stop this animation.

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

Pause this animation.

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

Resume this animation.

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

Perform a single frame step.

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

results matching ""

    No results matching ""