Changed map from array of ints to array of tiles