Class Index | File Index

Classes


Class cc.Application


Extends cc.Class.

Defined in: CCApplication.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Run main loop of game engine
Method Summary
Method Attributes Method Name and Description
 
ctor()
Constructor
<static>  
cc.Application.getCurrentLanguage()
Get current language config
 
run()
Run the message loop.
 
Callback by cc.Director for limit FPS.
<static>  
cc.Application.sharedApplication()
Get current applicaiton instance.
 
Get status bar rectangle in EGLView window.
Class Detail
cc.Application()
Run main loop of game engine
Method Detail
ctor()
Constructor

<static> {Number} cc.Application.getCurrentLanguage()
Get current language config
Returns:
{Number} Current language config

{Number} run()
Run the message loop.
Returns:
{Number}

setAnimationInterval(interval)
Callback by cc.Director for limit FPS.
Parameters:
{Number} interval
The time, which expressed in second, between current frame and next.

<static> {cc.Application} cc.Application.sharedApplication()
Get current applicaiton instance.
Returns:
{cc.Application} Current application instance pointer.

statusBarFrame(rect)
Get status bar rectangle in EGLView window.
Parameters:
{cc.Rect} rect

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:50 GMT-0800 (PST)