Removed the mapObj from Tiles and added a parameter to the methods
instead.