|
cocos2d-iphone-extensions
0.2
Cocos2D Extensions API Reference (iOS version) for www.kobold2d.com developers
|
Public Member Functions | |
| (NSString *) | - mapFilePath |
| (NSDictionary *) | - mapAttributeSetup |
| (NSDictionary *) | - tileSetInfoForName: |
| (NSDictionary *) | - layerInfoForName: |
| (NSArray *) | - objectGroupNames |
| (NSArray *) | - objectsGroupInfoForName: |
| (NSArray *) | - layerNames |
| (NSArray *) | - tileSetNames |
| (NSString *) | - tileSetNameForLayer: |
| (NSString *) | - tilePropertyForLayer:tileSetName:X:Y: |
| (NSString *) | - tileIdentificationKeyForLayer: |
| (NSDictionary *) | - propertiesForTileSetNamed: |
| (BOOL) | - copyAtlasFileForName: |
| (NSArray *) | - propertiesForObjectWithName:inGroupWithName: |
| (int) | - tileRotationForLayer:X:Y: |
| - (NSDictionary*) layerInfoForName: | (NSString *) | name |
Returns layer setup information based on the name passed. Keys listed in "Layer Setup Info Keys" section above.
| - (NSArray*) layerNames |
Returns all layer names as an array of NSStrings. Order of array items returned here determine the heirarchy.
| - (NSDictionary*) mapAttributeSetup |
Returns map setup parameters and properties. Keys listed in the "Map Setup Info Keys" section above. Number values can be strings or NSNumbers.
| - (NSString*) mapFilePath |
Returns the map's filePath to be saved to.
| - (NSArray*) objectGroupNames |
Returns the names of all the object groups as NSStrings. It's ok to return nil if don't need objects.
| - (NSArray*) objectsGroupInfoForName: | (NSString *) | name |
Returns object group information based on the name passed. Keys listed in "Objects Group Setup Info Keys" section above.
| - (NSArray*) propertiesForObjectWithName: | (NSString *) | name | |
| inGroupWithName: | (NSString *) | groupName | |
[optional] |
Returns the optional properties for a given object in a given group. Keys are listed in "Single Object Setup Info Keys" section above.
| - (NSDictionary*) propertiesForTileSetNamed: | (NSString *) | name |
Returns the properties for a given tileset.
| - (NSString*) tilePropertyForLayer: | (NSString *) | layerName | |
| tileSetName: | (NSString *) | tileSetName | |
| X: | (int) | x | |
| Y: | (int) | y | |
Returns a uniquely identifying value for the key returned in the method keyForTileIdentificationForLayer: If the value is not found, the tile gets set to the minimum GID.
| - (int) tileRotationForLayer: | (NSString *) | layerName | |
| X: | (int) | x | |
| Y: | (int) | y | |
[optional] |
Returns a rotation value (no rotation if this method doesn't exist) for the specified tile name and tile.
| - (NSDictionary*) tileSetInfoForName: | (NSString *) | name |
Returns tileset setup information based on the name. Keys listed in "Tileset Setup Info Keys" section above.
| - (NSString*) tileSetNameForLayer: | (NSString *) | layerName |
Returns the name of the tileset (only one right now) for the layer.
| - (NSArray*) tileSetNames |
Returns the names of all tilesets as NSStrings.