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
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets 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
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- return the value for the specific property name
|
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)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Gets 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
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +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.
|
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
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
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
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TMXObjectGroup] getGroupName
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets 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
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- Sets 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
|