Question: Greenfoot Practice -java based 1.Use the code so that the Pelicans can eat the Crabs, Lobsters, or worms, put this code in a method called
Greenfoot Practice -java based
1.Use the code so that the Pelicans can eat the Crabs, Lobsters, or worms, put this code in a method called eat. (you may need to check if you are touching a crab, lobster, or worm first)
2.Add the code so that the first thing a Pelican will do is attempt to eat
3)1.Use a method named mover that has an integer parameter named distance, and no return type. This method causes the crab to move the value of the distance parameter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
