Added two more arguments to drawTiles()