getTilesOnLine is now public.