write more of the XML implementation of tilemaps