debug
Class
Module: cc
An object to boot the game.
Index
Methods
getError
Gets error message with the error id and possible parameters.isDisplayStats
Returns whether or not to display the FPS informations.setDisplayStats
Sets whether display the FPS on the bottom-left corner.
Details
Methods
getError
Gets error message with the error id and possible parameters.
meta | description |
---|---|
Returns | String |
Defined in | cocos2d/core/CCDebug.js:342 |
Parameters
errorId
Stringparam
Any
isDisplayStats
Returns whether or not to display the FPS informations.
meta | description |
---|---|
Returns | Boolean |
Defined in | cocos2d/core/CCDebug.js:352 |
setDisplayStats
Sets whether display the FPS on the bottom-left corner.
meta | description |
---|---|
Defined in | cocos2d/core/CCDebug.js:362 |
Parameters
displayStats
Boolean