CCTMXObjectGroup represents the TMX object group.
Class CCTMXObjectGroup
#include <Geode/cocos/tilemap_parallax_nodes/CCTMXObjectGroup.h>
classCCTMXObjectGroup:publiccocos2d::CCObject{ ... }
Examples0
Public static methods0
Public member functions10
virtualcocos2d::CCPointconst&getPositionOffset()const
offset position of child objects
virtualvoidsetPositionOffset()
offset position of child objects
virtualcocos2d::CCDictionary*getProperties()
list of properties stored in a dictionary
virtualvoidsetProperties()
list of properties stored in a dictionary
virtualcocos2d::CCArray*getObjects()
array of the objects
virtualvoidsetObjects()
array of the objects
charconst*getGroupName()
No description provided
voidsetGroupName(charconst*groupName)
No description provided
cocos2d::CCString*propertyNamed(charconst*propertyName)
return the value for the specific property name
cocos2d::CCDictionary*objectNamed(charconst*objectName)
return the dictionary for the specific object name. It will return the 1st object found on the array for the given name.
Fields1
gd::stringm_sGroupName;
name of the group
Protected member functions0
Protected fields3
cocos2d::CCPointm_tPositionOffset;
offset position of child objects
cocos2d::CCDictionary*m_pProperties;
list of properties stored in a dictionary
cocos2d::CCArray*m_pObjects;
array of the objects