axmol/cocos/scripting/lua-bindings/auto/api/Scheduler.lua

34 lines
1.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Scheduler
-- @extend Ref
-- @parent_module cc
2014-03-10 14:04:58 +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
-- @param #float timeScale
-- @return Scheduler#Scheduler self (return value: cc.Scheduler)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Gets the time scale of schedule callbacks.<br>
-- see Scheduler::setTimeScale()
2014-03-10 14:04:58 +08:00
-- @function [parent=#Scheduler] getTimeScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Constructor<br>
-- js ctor
2014-03-10 14:04:58 +08:00
-- @function [parent=#Scheduler] Scheduler
-- @param self
-- @return Scheduler#Scheduler self (return value: cc.Scheduler)
2014-03-10 14:04:58 +08:00
return nil