C# Class CastleEscape.TMXMap

A map for the Tiled map format. Author: Dennis Honeyman
Show file Open project: Daminvar/CastleEscape Class Usage Examples

Public Methods

Method Description
IsCollisionAt ( int x, int y ) : bool

Checks to see if there's a collision at the specified location.

ParseTMXFile ( string filename ) : void

Parses a TMX map.

Private Methods

Method Description
parseLayer ( XmlNode layerData ) : int[][]

Method Details

IsCollisionAt() public method

Checks to see if there's a collision at the specified location.
public IsCollisionAt ( int x, int y ) : bool
x int The X coordinate.
y int The Y coordinate.
return bool

ParseTMXFile() public method

Parses a TMX map.
public ParseTMXFile ( string filename ) : void
filename string The path to the map.
return void