CCTMXMapInfo
CCTMXMapInfo
Cocos2DInheritance: System.Object
Implements: Cocos2D.ICCSAXDelegator
Constructors
CCTMXMapInfo(StreamReader)
CCTMXMapInfo(StreamReader)(System.IO.StreamReader stream)Parameters:
stream (System.IO.StreamReader)CCTMXMapInfo(string)
CCTMXMapInfo(string)(System.String tmxFile)Parameters:
tmxFile (System.String)Fields
m_bStoringCharacters(System.Boolean)
m_nLayerAttribs(System.Int32)
m_nOrientation(System.Int32)
m_nParentElement(System.Int32)
m_pLayers(System.Collections.Generic.ListCocos2D.CCTMXLayerInfo)
m_pObjectGroups(System.Collections.Generic.ListCocos2D.CCTMXObjectGroup)
m_pProperties(System.Collections.Generic.DictionarySystem.String,System.String)
m_pTileProperties(System.Collections.Generic.DictionarySystem.UInt32,System.Collections.Generic.DictionarySystem.String,System.String)
m_pTilesets(System.Collections.Generic.ListCocos2D.CCTMXTilesetInfo)
m_sCurrentString(System.Byte[])
m_sTMXFileName(System.String)
m_tMapSize(Cocos2D.CCSize)
m_tTileSize(Cocos2D.CCSize)
m_uCurrentFirstGID(System.UInt32)
m_uParentGID(System.UInt32)
Properties
CurrentString(System.Byte[])
LayerAttribs(System.Int32)
Layers(System.Collections.Generic.ListCocos2D.CCTMXLayerInfo)
MapSize(Cocos2D.CCSize)
ObjectGroups(System.Collections.Generic.ListCocos2D.CCTMXObjectGroup)
Orientation(System.Int32)
ParentElement(System.Int32)
ParentGID(System.UInt32)
Properties(System.Collections.Generic.DictionarySystem.String,System.String)
StoringCharacters(System.Boolean)
TMXFileName(System.String)
TileProperties(System.Collections.Generic.DictionarySystem.UInt32,System.Collections.Generic.DictionarySystem.String,System.String)
TileSize(Cocos2D.CCSize)
Tilesets(System.Collections.Generic.ListCocos2D.CCTMXTilesetInfo)
Methods
EndElement(object, string)
EndElement(object, string)(System.Object ctx, System.String elementName)Parameters:
ctx (System.Object)elementName (System.String)Example
InitWithTmxFile(string)
System.Boolean InitWithTmxFile(string)(System.String tmxFile)Parameters:
tmxFile (System.String)Returns:
System.BooleanInitWithXml(string, string)
System.Boolean InitWithXml(string, string)(System.String tmxString, System.String resourcePath)Parameters:
tmxString (System.String)resourcePath (System.String)Returns:
System.BooleanParseXmlFile(string)
System.Boolean ParseXmlFile(string)(System.String xmlFilename)Parameters:
xmlFilename (System.String)Returns:
System.BooleanParseXmlString(string)
System.Boolean ParseXmlString(string)(System.String data)Parameters:
data (System.String)Returns:
System.BooleanStartElement(object, string, string[])
StartElement(object, string, string[])(System.Object ctx, System.String name, System.String[] atts)Parameters:
ctx (System.Object)name (System.String)atts (System.String[])Example
TextHandler(object, byte[], int)
TextHandler(object, byte[], int)(System.Object ctx, System.Byte[] ch, System.Int32 len)Parameters:
ctx (System.Object)ch (System.Byte[])len (System.Int32)Example