Conforms to NSObject
Declared in TMXGenerator.h

Tasks

Instance Methods

copyAtlasFileForName:

layerInfoForName:

Returns layer setup information based on the name passed. Keys listed in “Layer Setup Info Keys” section above.

- (NSDictionary *)layerInfoForName:(NSString *)name

Declared In

TMXGenerator.h

layerNames

Returns all layer names as an array of NSStrings. Order of array items returned here determine the heirarchy.

- (NSArray *)layerNames

Declared In

TMXGenerator.h

mapAttributeSetup

Returns map setup parameters and properties. Keys listed in the “Map Setup Info Keys” section above. Number values can be strings or NSNumbers.

- (NSDictionary *)mapAttributeSetup

Declared In

TMXGenerator.h

mapFilePath

Returns the map’s filePath to be saved to.

- (NSString *)mapFilePath

Declared In

TMXGenerator.h

objectGroupNames

Returns the names of all the object groups as NSStrings. It’s ok to return nil if don’t need objects.

- (NSArray *)objectGroupNames

Declared In

TMXGenerator.h

objectsGroupInfoForName:

Returns object group information based on the name passed. Keys listed in “Objects Group Setup Info Keys” section above.

- (NSArray *)objectsGroupInfoForName:(NSString *)name

Declared In

TMXGenerator.h

propertiesForObjectWithName:inGroupWithName:

Returns the optional properties for a given object in a given group. Keys are listed in “Single Object Setup Info Keys” section above.

- (NSArray *)propertiesForObjectWithName:(NSString *)name inGroupWithName:(NSString *)groupName

Declared In

TMXGenerator.h

propertiesForTileSetNamed:

Returns the properties for a given tileset.

- (NSDictionary *)propertiesForTileSetNamed:(NSString *)name

Declared In

TMXGenerator.h

tileIdentificationKeyForLayer:

tilePropertyForLayer:tileSetName:X: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.

- (NSString *)tilePropertyForLayer:(NSString *)layerName tileSetName:(NSString *)tileSetName X:(int)x Y:(int)y

Declared In

TMXGenerator.h

tileRotationForLayer:X:Y:

Returns a rotation value (no rotation if this method doesn’t exist) for the specified tile name and tile.

- (int)tileRotationForLayer:(NSString *)layerName X:(int)x Y:(int)y

Declared In

TMXGenerator.h

tileSetInfoForName:

Returns tileset setup information based on the name. Keys listed in “Tileset Setup Info Keys” section above.

- (NSDictionary *)tileSetInfoForName:(NSString *)name

Declared In

TMXGenerator.h

tileSetNameForLayer:

Returns the name of the tileset (only one right now) for the layer.

- (NSString *)tileSetNameForLayer:(NSString *)layerName

Declared In

TMXGenerator.h

tileSetNames

Returns the names of all tilesets as NSStrings.

- (NSArray *)tileSetNames

Declared In

TMXGenerator.h