Added write_line to TileGridView