PDA

View Full Version : Help my homework


kaijencheng
01-27-2008, 08:26 PM
Hello~I don't know how to do this homework. programming projects. 3.5

Write a hop() method that makes bunny hop in a realistic fashion, which a parameter that lets the sender of the message specify how far the animal should hop. USing your hop() method, have your animal hop around a buliding in four hops.

So far, I just know how to use bunny hops once by hop() method.
And, to hop is easy but i don't know how to hop around the building and how to use parameter to do it. @@
Does anyone can help me?

DickBaldwin
01-27-2008, 08:57 PM
Hello~I don't know how to do this homework. programming projects. 3.5

Write a hop() method that makes bunny hop in a realistic fashion, which a parameter that lets the sender of the message specify how far the animal should hop. USing your hop() method, have your animal hop around a buliding in four hops.

So far, I just know how to use bunny hops once by hop() method.
And, to hop is easy but i don't know how to hop around the building and how to use parameter to do it. @@
Does anyone can help me?

You may find some information at http://www.dickbaldwin.com/tocalice.htm that will help you with your homework. Let me know if you don't understand what you find there and I will see if I can help you to understand it.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm