Collidee/es: Difference between revisions
(Created page with "Colisionado") |
(Updating to match new version of source page) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Detección]] | [[Category:Detección]] | ||
<section begin="image"/>[[File: | <section begin="image"/>[[File:Colisionado.png|alt=The collidee block|thumb]]<section end="image"/> | ||
<section begin="name" />'''{{Block|collidee}}'''<section end="name" /> is a [[code block]] part of the [[ | <section begin="name" />'''{{Special:MyLanguage/collidee|colisionado}}'''<section end="name" /> is a [[Special:MyLanguage/Code Block|bloque de código]] part of the [[Special:MyLanguage/Detection|detección]] drawer. | ||
==Uso== | |||
<p id="tooltip">{{Special:MyLanguage/collidee|colisionado}} is used to refer to the [[Special:MyLanguage/Agents|agente]] that has been collided with when used inside a {{Special:MyLanguage/On Collision With Do|al colisionar con [▼] hacer}} [[Special:MyLanguage/Stack|stack]] of code. | |||
This block is used as a [[Special:MyLanguage/Socket|enchufe]] in other blocks, such as <code>[[Special:MyLanguage/Delete Agent|eliminar agente [_]]]</code>.</p> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<section begin="name" />'''{{Block|collidee}}'''<section end="name" /> is a [[code block]] part of the [[Detection]] drawer. | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Usage== | ==Usage== | ||
{{Block|collidee}} is used to refer to the [[agent]] that has been collided with when used inside a {{Block|On Collision With Do|on collision with [▼] do}} [[stack]] of code. | |||
This block is used as a [[socket]] in other blocks, such as <code>[[Delete Agent|delete agent [_]]]</code>.</ | This block is used as a [[socket]] in other blocks, such as <code>[[Delete Agent|delete agent [_]]]</code>. | ||
</div> | |||
==Sintaxis== | |||
<code>colisionado</code> | <code>colisionado</code> | ||
== | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{ | ==Example== | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:collidee_example.gif|alt=Collidee example gif|thumb]] | |||
[[File:collidee_example.png|alt=Collidee example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
When a predator agent collides with a prey agent (i.e. they have the same x, y, and z coordinates) the predator deletes the prey agent. This interaction makes it appear as if the predator eats the prey. | |||
</div> | |||
==Para tener en cuenta== | |||
{{Special:MyLanguage/collidee|colisionado}} solo tiene significado cuando se usa dentro de un [[Special:MyLanguage/stack|stack]] de código inicializado por un {{Special:MyLanguage/On Collision With Do|al colisionar con [▼] hacer}} bloquear. | |||
==Bloque relacionado== | ==Bloque relacionado== | ||
*{{Block| | *{{Block|Special:MyLanguage/On Collision With Do|En colisión con [▼] hacer}} | ||
==Actividades relevantes== | ==Actividades relevantes== | ||
[[Category:Detección]] | [[Category:Detección]] | ||
[[Category:Code Block]] | [[Category:Code Block]] |
Latest revision as of 20:07, 12 August 2023
Special:MyLanguage/collidee is a bloque de código part of the detección drawer.
Uso
Special:MyLanguage/collidee is used to refer to the agente that has been collided with when used inside a Special:MyLanguage/On Collision With Do stack of code.
This block is used as a enchufe in other blocks, such as eliminar agente [_]
.
collidee
is a code block part of the Detection drawer.
Usage
collidee
is used to refer to the agent that has been collided with when used inside a on collision with [▼] do
stack of code.
This block is used as a socket in other blocks, such as delete agent [_]
.
Sintaxis
colisionado
Example
When a predator agent collides with a prey agent (i.e. they have the same x, y, and z coordinates) the predator deletes the prey agent. This interaction makes it appear as if the predator eats the prey.
Para tener en cuenta
Special:MyLanguage/collidee solo tiene significado cuando se usa dentro de un stack de código inicializado por un Special:MyLanguage/On Collision With Do bloquear.