count-breed-towards
angle distance
Parameters:
angle |
Number |
angle from the direction the caller is facing |
distance |
Number |
distance away from the caller |
Description:
Returns the number of turtles whose breed is frogs which are located at the patch distance away at angle angle.
Examples:
count-frogs-towards 0 1
returns the number of turthles whose breed is frogs one patch ahead of the caller.
Notes:
Note the angle is measured from the direction the caller is facing.
Related Commands:
count-breed
count-breed-at
count-breed-here
count-breed-with
count-turtles-towards