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:345
Parameters
isDisplayStats

Returns whether or not to display the FPS informations.

meta description
Returns Boolean
Defined in cocos2d/core/CCDebug.js:355
setDisplayStats

Sets whether display the FPS on the bottom-left corner.

meta description
Defined in cocos2d/core/CCDebug.js:365
Parameters

results matching ""

    No results matching ""