2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Application
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Get target platform
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Application] getTargetPlatform
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Get current language iso 639-1 code<br>
|
|
|
|
-- return Current language iso 639-1 code
|
2014-03-21 16:38:19 +08:00
|
|
|
-- @function [parent=#Application] getCurrentLanguageCode
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-03-21 16:38:19 +08:00
|
|
|
-- @return char#char ret (return value: char)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Get current language config<br>
|
|
|
|
-- return Current language config
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Application] getCurrentLanguage
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-03-21 16:38:19 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Callback by Director to limit FPS.<br>
|
|
|
|
-- param interval The time, expressed in seconds, between current frame and next.
|
2014-03-21 16:38:19 +08:00
|
|
|
-- @function [parent=#Application] setAnimationInterval
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #double interval
|
2014-03-21 16:38:19 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- brief Get current application instance.<br>
|
|
|
|
-- return Current application instance pointer.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Application] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Application#Application ret (return value: cc.Application)
|
|
|
|
|
|
|
|
return nil
|