2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Scheduler
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +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
|
|
|
-- Modifies the time of all scheduled callbacks.<br>
|
|
|
|
-- You can use this property to create a 'slow motion' or 'fast forward' effect.<br>
|
|
|
|
-- Default is 1.0. To create a 'slow motion' effect, use values below 1.0.<br>
|
|
|
|
-- To create a 'fast forward' effect, use values higher than 1.0.<br>
|
|
|
|
-- since v0.8<br>
|
|
|
|
-- warning It will affect EVERY scheduled selector / action.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Scheduler] setTimeScale
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float timeScale
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Scheduler#Scheduler self (return value: cc.Scheduler)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Scheduler] getTimeScale
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- js ctor
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Scheduler] Scheduler
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Scheduler#Scheduler self (return value: cc.Scheduler)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|