The World/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 7: | Line 7: | ||
<section begin="name" />'''<code>The World</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer. | <section begin="name" />'''<code>The World</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer. | ||
== Usage== | ==Usage== | ||
<code>The World</code> refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0). | <code>The World</code> refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0). | ||
==Syntax== | |||
<code>[Textbox Insert] The World</code> | <code>[Textbox Insert] The World</code> |
Revision as of 19:30, 10 August 2023
Returns an agent (data type) that represents The World.
The World
is a code block part of the Environment drawer.
Usage
The World
refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).
Syntax
[Textbox Insert] The World
Common Uses
Useful for simulations that require recursion, or agents that can act as the base case.