2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module TMXObjectGroup
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
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
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +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
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table offset
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +08:00
|
|
|
-- Return the value for the specific property name. <br>
|
|
|
|
-- param propertyName The specific property name.<br>
|
2015-03-31 12:01:57 +08:00
|
|
|
-- 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
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string propertyName
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return Value#Value ret (return value: cc.Value)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +08:00
|
|
|
-- 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
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +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
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string objectName
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
|
|
|
-- @overload self
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXObjectGroup] getObjects
|
|
|
|
-- @param self
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +08:00
|
|
|
-- Set the group name. <br>
|
2015-03-27 13:46:01 +08:00
|
|
|
-- 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
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #string groupName
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
|
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=#TMXObjectGroup] getProperties
|
|
|
|
-- @param self
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return map_table#map_table ret (return value: map_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +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)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +08:00
|
|
|
-- 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
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #map_table properties
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-23 16:32:54 +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
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #array_table objects
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- js ctor
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXObjectGroup] TMXObjectGroup
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TMXObjectGroup#TMXObjectGroup self (return value: cc.TMXObjectGroup)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|