le table-bordered params"><tr><th style="width:25%;"><code>StartIndex</code></th><td><p>The starting tile's map index.</p></td></tr><tr><th style="width:25%;"><code>EndIndex</code></th><td><p>The ending tile's map index.</p></td></tr><tr><th style="width:25%;"><code>DiagonalPolicy</code></th><td><p>How to treat diagonal movement.</p></td></tr><tr><th style="width:25%;"><code>StopOnEnd</code></th><td><p>Whether to stop at the end or not (default true)</p></td></tr></table><p class="javadoc">Returns:</p><div 