Of/es: Difference between revisions
(Created page with "Category:Rasgos Category:Code Block") |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
<section begin="image"/>[[File:of.png|alt=The Of Block|thumb]]<section end="image"/> | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Usage== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
<p id="tooltip">Returns the value of a trait belonging to another agent (such as collidee or my parent).</p> | <p id="tooltip">Returns the value of a trait belonging to another agent (such as collidee or my parent).</p> | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Syntax== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Inputs in this block: | |||
#a type of trait from the drop down menu | |||
#an agent block in the socket | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Example== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:of_example.gif|alt=Of example gif|thumb]] | |||
[[File:of_example.png|alt=Of example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
This is a model of bacterial growth and reproduction. Bacteria eat food in order to grow. After eating a sufficient amount, the bacteria will undergo mitosis and split into two new bacterial cells. Each lineage of bacteria has its own color, which has been established using the trait of block combined with the [[Special:MyLanguage/My Parent|my parent]] block. | |||
</div> | </div> | ||
[[Category:Rasgos]] | [[Category:Rasgos]] | ||
[[Category:Code Block]] | [[Category:Code Block]] |
Revision as of 20:07, 14 August 2023
Usage
Returns the value of a trait belonging to another agent (such as collidee or my parent).
Syntax
Inputs in this block:
- a type of trait from the drop down menu
- an agent block in the socket
Example
This is a model of bacterial growth and reproduction. Bacteria eat food in order to grow. After eating a sufficient amount, the bacteria will undergo mitosis and split into two new bacterial cells. Each lineage of bacteria has its own color, which has been established using the trait of block combined with the my parent block.