The ClarkKentRobot is a child of the ExperimentRobot.
It
likes to jump to the top of a tall building in a single bound. Write a program that
will have a ClarkKentRobot robot jump straight up and then go over the CN Tower. On top of
the tower there is a thing to pick up. The robot lands in the spot shown and put the
thing down. Use
the city file 'Toronto.txt' to create the city.
(Save the Toronto.txt file in the same directory as this
question.)
There are TWO ways (one "cheap" and one "elegant") to get the robot to pick up the coin and not the flashing light.
Elegant way: Examine the Robot documentation. Find out how Robots can pick up a specific type of Thing by looking at IPredicate:

Cheap: Edit the text file...
Do NOT hand in your work unless other instructions were given. |