Skip to main content

CCTMXTiledMap

CCTMXTiledMap

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode

Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}

Constructors

CCTMXTiledMap(CCTMXMapInfo)

CCTMXTiledMap(CCTMXMapInfo)(Cocos2D.CCTMXMapInfo mapInfo)
Parameters:
mapInfo (Cocos2D.CCTMXMapInfo)

CCTMXTiledMap(StreamReader)

CCTMXTiledMap(StreamReader)(System.IO.StreamReader tmxFile)
Parameters:
tmxFile (System.IO.StreamReader)

CCTMXTiledMap(string)

CCTMXTiledMap(string)(System.String tmxFile)
Parameters:
tmxFile (System.String)

Fields

m_nMapOrientation(System.Int32)
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_tMapSize(Cocos2D.CCSize)
m_tTileSize(Cocos2D.CCSize)

Properties

MapInfo(Cocos2D.CCTMXMapInfo)
MapOrientation(System.Int32)
MapSize(Cocos2D.CCSize)
ObjectGroups(System.Collections.Generic.ListCocos2D.CCTMXObjectGroup)
Properties(System.Collections.Generic.DictionarySystem.String,System.String)
TileSize(Cocos2D.CCSize)

Methods

InitWithTmxFile(string)

System.Boolean InitWithTmxFile(string)(System.String tmxFile)
Parameters:
tmxFile (System.String)
Returns:
System.Boolean

LayerNamed(string)

Cocos2D.CCTMXLayer LayerNamed(string)(System.String layerName)
Parameters:
layerName (System.String)
Returns:
Cocos2D.CCTMXLayer

ObjectGroupNamed(string)

Cocos2D.CCTMXObjectGroup ObjectGroupNamed(string)(System.String groupName)
Parameters:
groupName (System.String)
Returns:
Cocos2D.CCTMXObjectGroup

PropertiesForGID(uint)

System.Collections.Generic.DictionarySystem.String,System.String PropertiesForGID(uint)(System.UInt32 GID)
Parameters:
GID (System.UInt32)
Returns:
System.Collections.Generic.DictionarySystem.String,System.String

PropertyNamed(string)

System.String PropertyNamed(string)(System.String propertyName)
Parameters:
propertyName (System.String)
Returns:
System.String