.js</a>, <a href="Patches.js.html#line17">line 17</a></li></ul></dd></div></dl></div><h2 id="methods" class="subsection-title has-anchor">Methods</h2><h3 class="name has-anchor" id="neighbors"><span class="type-signature"></span>neighbors<span class="signature">(patch)</span><span class="type-signature"> &rarr; {<a href="AgentList.html">AgentList</a>}</span></h3><div class="description"><p>Return the 8 patch <a href="https://en.wikipedia.org/wiki/Moore_neighborhood">&quot;Moore&quot; neighbors</a> of the gi