axmol/tools/tolua++/CCTMXObjectGroup.pkg

36 lines
1.0 KiB
Plaintext

namespace cocos2d {
/** @brief CCTMXObjectGroup represents the TMX object group.
@since v0.99.0
*/
class CCTMXObjectGroup : public CCObject
{
/** offset position of child objects */
CCPoint getPositionOffset();
void setPositionOffset(CCPoint pt);
/** list of properties stored in a dictionary */
CCStringToStringDictionary* getProperties();
void setProperties(CCStringToStringDictionary* pval);
/** array of the objects */
CCMutableArray<CCStringToStringDictionary*>* getObjects();
void setObjects(CCMutableArray<CCStringToStringDictionary*>* val);
CCTMXObjectGroup();
~CCTMXObjectGroup();
const char* getGroupName();
void setGroupName(const char *groupName);
/** return the value for the specific property name */
CCString *propertyNamed(const char* propertyName);
/** return the dictionary for the specific object name.
It will return the 1st object found on the array for the given name.
*/
CCStringToStringDictionary *objectNamed(const char *objectName);
};
}// namespace cocos2d