Delete Everyone/es: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 18: | Line 18: | ||
<code>(in reference to every agent)Eliminar a todos</code> | <code>(in reference to every agent)Eliminar a todos</code> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Example== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:delete_everyone_example.gif|alt=Delete Everyone example gif|thumb]] | |||
[[File:delete_everyone_example.png|alt=Delete Everyone example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Each time that setup is pressed, The World deletes all other agents. This ensures that each time a new set of agents is created, the population does not continue to increase. Using the delete everyone block enables the ‘setup’ button replicate the behavior of a project loaded for the first time. | |||
</div> | |||
<span id="Nuances"></span> | <span id="Nuances"></span> |
Revision as of 19:18, 11 August 2023
eliminar todos
is a code block part of the agentes drawer.
delete everyone
is a code block part of the agents drawer.
Uso
eliminar todos
is used to delete all agentes from Spaceland.
Sintaxis
(in reference to every agent)Eliminar a todos
Example
Each time that setup is pressed, The World deletes all other agents. This ensures that each time a new set of agents is created, the population does not continue to increase. Using the delete everyone block enables the ‘setup’ button replicate the behavior of a project loaded for the first time.
Para tener en cuenta
Code may be placed after this block as this block can be used to delete all agents under the world tab.