2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Animate
|
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
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Animate] getAnimation
|
|
|
|
-- @param self
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return Animation#Animation ret (return value: cc.Animation)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- sets the Animation object to be animated
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Animate] setAnimation
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Animation animation
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- creates the action with an Animation and will restore the original frame when the animation is over
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Animate] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Animation animation
|
|
|
|
-- @return Animate#Animate ret (return value: cc.Animate)
|
|
|
|
|
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=#Animate] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
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=#Animate] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return Animate#Animate ret (return value: cc.Animate)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Animate] stop
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Animate] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return Animate#Animate ret (return value: cc.Animate)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#Animate] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float t
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|