|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCTMXObjectGroup.h>
Public Member Functions | |
| (id) | - propertyNamed: |
| (NSMutableDictionary *) | - objectNamed: |
Protected Attributes | |
| NSString * | _groupName |
| CGPoint | _positionOffset |
| NSMutableArray * | _objects |
| NSMutableDictionary * | _properties |
Properties | |
| NSString * | groupName |
| CGPoint | positionOffset |
| NSMutableArray * | objects |
| NSMutableDictionary * | properties |
CCTMXObjectGroup represents the TMX object group.
| - (NSMutableDictionary*) objectNamed: | (NSString *) | objectName |
return the dictionary for the specific object name. It will return the 1st object found on the array for the given name.
| - (id) propertyNamed: | (NSString *) | propertyName |
return the value for the specific property name
- (NSString*) groupName [read, write, retain] |
name of the group
- (NSMutableArray*) objects [read, write, retain] |
array of the objects
- (CGPoint) positionOffset [read, write, assign] |
offset position of child objects
- (NSMutableDictionary*) properties [read, write, retain] |
list of properties stored in a dictionary