Updated mapdata with getter functions for width, height, tilewidth, tileheight