2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Spawn
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionInterval
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-12-04 05:34:13 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Spawn] init
|
|
|
|
-- @param self
|
|
|
|
-- @param #array_table arrayOfActions
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- initializes the Spawn action with the 2 actions to spawn
|
|
|
|
-- @function [parent=#Spawn] initWithTwoActions
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.FiniteTimeAction action1
|
|
|
|
-- @param #cc.FiniteTimeAction action2
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Spawn] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Spawn#Spawn self (return value: cc.Spawn)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2017-06-09 09:54:03 +08:00
|
|
|
-- @function [parent=#Spawn] reverse
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
|
|
|
-- @return Spawn#Spawn ret (return value: cc.Spawn)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2017-06-09 09:54:03 +08:00
|
|
|
-- @function [parent=#Spawn] clone
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
2017-06-09 09:54:03 +08:00
|
|
|
-- @return Spawn#Spawn ret (return value: cc.Spawn)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2017-06-09 09:54:03 +08:00
|
|
|
-- @function [parent=#Spawn] stop
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
2017-06-09 09:54:03 +08:00
|
|
|
-- @return Spawn#Spawn self (return value: cc.Spawn)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-31 12:01:57 +08:00
|
|
|
-- param time In seconds.
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Spawn] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Spawn#Spawn self (return value: cc.Spawn)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2017-06-09 09:54:03 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Spawn] isDone
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Spawn] Spawn
|
|
|
|
-- @param self
|
|
|
|
-- @return Spawn#Spawn self (return value: cc.Spawn)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|