one-of-breed-with
[condition]
Parameters:
[condition] |
List of commands |
list of commands that evaluates to either true or false |
Description:
Returns a random turtle that satisfies [condition].
Examples:
one-of-frogs-with [color = red]
returns a random turtle that is red and of breed frogs
Related Commands:
one-of-breed
one-of-turtles-with