The tile based engine for High Fantasy Rpg Open Source, consist in:
-Map class with array of rows, each one has columns. Each column has a tile with the following properties:
-Type: type of the tile (grass, rock, water)
-Variation (variation of the tile type)
-Event (event when reached the tile)
Example of file:
<!--?xml version="1.0" encoding="UTF-8"?-->Map
rows
column
tile
variation
event
rows
Map