My Parent/es: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
[[Category: | <div class="mw-translate-fuzzy"> | ||
[[Category: Agentes]] | |||
<section begin=image/> | <section begin=image/> | ||
[[File: | [[File:MiPadre.png|alt=take camera block|thumb]] | ||
<section end=image/> | <section end=image/> | ||
{{#vardefine:my parent|<code>my parent</code>}} | {{#vardefine:my parent|<code>my parent</code>}} | ||
<section begin=name/>'''<code> | <section begin=name/>'''<code>mi padre</code>'''<section end=name/> es un [[bloque de código]] parte de [[Special:MyLanguage/Agents|agentes]] cajón. | ||
==Uso== | ==Uso== | ||
</div> | |||
<p id="tooltip"><code> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{#vardefine:my parent|<code>my parent</code>}}<section begin=name/>'''<code>my parent</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Usage== | |||
</div> | |||
<p id="tooltip"><code>mi padre</code> se refiere a [[Special:MyLanguage/Agents|agente]] que creó el agente que actualmente está ejecutando el código.</p> | |||
===Sintaxis=== | ===Sintaxis=== | ||
<code>padre</code> | <code>padre</code> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Example== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:my_parent_example.gif|alt=My Parent example gif|thumb]] | |||
[[File:my_parent_example.png|alt=My Parent example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
This is a model of follow the leader. Each time that the new duckling button is pressed, the newest ducking (shown in pink) creates a new duckling agent. We observe that the ducklings travel in a line since each agent follows its parent. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<strong>Note:</strong> The original duckling of size two does not follow its parent (The World). If it did, it would simply continue to face toward center. | |||
</div> | |||
<span id="Related_Blocks"></span> | <span id="Related_Blocks"></span> |
Latest revision as of 18:25, 11 August 2023
my parent
is a code block part of the agents drawer.
Usage
mi padre
se refiere a agente que creó el agente que actualmente está ejecutando el código.
Sintaxis
padre
Example
This is a model of follow the leader. Each time that the new duckling button is pressed, the newest ducking (shown in pink) creates a new duckling agent. We observe that the ducklings travel in a line since each agent follows its parent.
Note: The original duckling of size two does not follow its parent (The World). If it did, it would simply continue to face toward center.
Bloques relacionados