Turtle and Observer Command

count-frogs-towards angle distance

Returns the number of turtles whose breed is frogs which are located at the patch distance away at angle angle. Note the angle is measured from the direction the caller is facing.

Examples:

count-frogs-towards 0 1 returns the number of turthles whose breed is frogs one patch in front of the caller.

Related commands:
count-frogs, count-frogs-at, count-frogs-with