Eliminar Todos
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.