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

93 lines
3.2 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TMXObjectGroup
-- @extend Ref
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the offset position of child objects. <br>
-- param offset The offset position of child objects.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] setPositionOffset
-- @param self
-- @param #vec2_table offset
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Return the value for the specific property name. <br>
-- param propertyName The specific property name.<br>
-- return Return the value for the specific property name.<br>
-- js NA
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] getProperty
-- @param self
-- @param #string propertyName
2014-03-10 14:04:58 +08:00
-- @return Value#Value ret (return value: cc.Value)
--------------------------------
-- Gets the offset position of child objects. <br>
-- return The offset position of child objects.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] getPositionOffset
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Return the dictionary for the specific object name.<br>
-- It will return the 1st object found on the array for the given name.<br>
-- return Return the dictionary for the specific object name.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] getObject
-- @param self
-- @param #string objectName
2014-03-10 14:04:58 +08:00
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- @overload self
-- @overload self
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] getObjects
-- @param self
-- @return array_table#array_table ret (return value: array_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Set the group name. <br>
-- param groupName A string,it is used to set the group name.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] setGroupName
-- @param self
-- @param #string groupName
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self
-- @overload self
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] getProperties
-- @param self
-- @return map_table#map_table ret (return value: map_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Get the group name. <br>
-- return The group name.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] getGroupName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Sets the list of properties.<br>
-- param properties The list of properties.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] setProperties
-- @param self
-- @param #map_table properties
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the array of the objects.<br>
-- param objects The array of the objects.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] setObjects
-- @param self
-- @param #array_table objects
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
2014-03-10 14:04:58 +08:00
--------------------------------
-- js ctor
2014-03-10 14:04:58 +08:00
-- @function [parent=#TMXObjectGroup] TMXObjectGroup
-- @param self
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
2014-03-10 14:04:58 +08:00
return nil