C# Class CastleEscape.TMXMap

A map for the Tiled map format. Author: Dennis Honeyman
Afficher le fichier Open project: Daminvar/CastleEscape Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
parseLayer ( XmlNode layerData ) : int[][]

Method Details

IsCollisionAt() public méthode

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.
Résultat bool

ParseTMXFile() public méthode

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