C# Class BBGamelib.CCTMXParser

ファイルを表示 Open project: BigWoodGames/cocos2d-unity

Public Methods

Method Description
Debug ( CCTMXMap map ) : void
Parse ( string file, NSDictionary tilesetCaches = null ) : CCTMXMap

Private Methods

Method Description
LoadText ( string file ) : string
ParseImagePlist ( int firstGid, int tileWidth, int tileHeight, string filename, string>.Dictionary gidToFiles, NSDictionary tilesetCaches ) : void
ParseLayer ( XmlNode nodeData, int cols, int rows, string>.Dictionary gidToFiles, string>.Dictionary gidToTileProperties ) : CCTMXLayer
ParseObjectGroup ( XmlNode nodeData, int cols, int rows, int tileWidth, int tileHeight, string>.Dictionary gidToFiles, string>.Dictionary gidToTileProperties ) : CCTMXLayer
ParseProperties ( XmlNode propertiesNode, string>.Dictionary properties ) : void
ParseTileset ( XmlNode nodeData, string>.Dictionary gidToFiles, string>.Dictionary gidToTileProperties, string dir, NSDictionary tilesetCaches ) : void

Method Details

Debug() public static method

public static Debug ( CCTMXMap map ) : void
map CCTMXMap
return void

Parse() public static method

public static Parse ( string file, NSDictionary tilesetCaches = null ) : CCTMXMap
file string
tilesetCaches NSDictionary
return CCTMXMap