Frog Escape
At the local lily pond (Environments on C D or Web gallery), the frogs (Animals) enjoy climbing out of the water now and then to warm up in the sun. Of course, they get a bit jump y when a predator is sighted. On this fine day, a hungry snake (Animals) wanders into the scene. Create a world scene similar to the one below and animate the frogs jumping into the pond when the snake approaches. Write a method that turns the snake toward the frog and slides the snake forward. Then, have the frog turn to the pond and jump in. Your method should use a parameter to specify which frog is escaping.