Reference 〉 Function

Patch.die()

Removes the patch from the board, and if spatial() had been initialized with offmap=False, prevents agents from moving to coordinates previously covered by the patch. Patches can be revived with basePatches.revive().

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.