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

61 lines
1.7 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module AnimationFrame
-- @extend Ref
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] setSpriteFrame
-- @param self
-- @param #cc.SpriteFrame frame
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self
-- @overload self
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] getUserInfo
-- @param self
-- @return map_table#map_table ret (return value: map_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the units of time the frame takes
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] setDelayUnits
-- @param self
-- @param #float delayUnits
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] clone
-- @param self
-- @return AnimationFrame#AnimationFrame ret (return value: cc.AnimationFrame)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] getSpriteFrame
-- @param self
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
--------------------------------
-- Gets the units of time the frame takes
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] getDelayUnits
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Sets user infomation
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] setUserInfo
-- @param self
-- @param #map_table userInfo
2014-03-10 14:04:58 +08:00
--------------------------------
-- Creates the animation frame with a spriteframe, number of delay units and a notification user info<br>
-- since 3.0
2014-03-10 14:04:58 +08:00
-- @function [parent=#AnimationFrame] create
-- @param self
-- @param #cc.SpriteFrame spriteFrame
-- @param #float delayUnits
-- @param #map_table userInfo
2014-03-10 14:04:58 +08:00
-- @return AnimationFrame#AnimationFrame ret (return value: cc.AnimationFrame)
return nil