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

66 lines
2.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TargetedAction
-- @extend ActionInterval
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self
-- @overload self
2014-03-10 14:04:58 +08:00
-- @function [parent=#TargetedAction] getForcedTarget
-- @param self
-- @return Node#Node ret (return value: cc.Node)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the target that the action will be forced to run with.<br>
-- param forcedTarget The target that the action will be forced to run with.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TargetedAction] setForcedTarget
-- @param self
-- @param #cc.Node forcedTarget
-- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Create an action with the specified action and forced target.<br>
-- param target The target needs to override.<br>
-- param action The action needs to override.<br>
-- return An autoreleased TargetedAction object.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TargetedAction] create
-- @param self
-- @param #cc.Node target
-- @param #cc.FiniteTimeAction action
2014-03-10 14:04:58 +08:00
-- @return TargetedAction#TargetedAction ret (return value: cc.TargetedAction)
--------------------------------
--
-- @function [parent=#TargetedAction] startWithTarget
-- @param self
-- @param #cc.Node target
-- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction)
--------------------------------
--
-- @function [parent=#TargetedAction] clone
-- @param self
-- @return TargetedAction#TargetedAction ret (return value: cc.TargetedAction)
--------------------------------
--
-- @function [parent=#TargetedAction] stop
-- @param self
-- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction)
--------------------------------
--
-- @function [parent=#TargetedAction] reverse
-- @param self
-- @return TargetedAction#TargetedAction ret (return value: cc.TargetedAction)
--------------------------------
-- param time In seconds.
-- @function [parent=#TargetedAction] update
-- @param self
-- @param #float time
-- @return TargetedAction#TargetedAction self (return value: cc.TargetedAction)
2014-03-10 14:04:58 +08:00
return nil