Alice Community Need Help Sailing

 Need Help Sailing
mnstr8401
Junior Member

Status: Offline
Posts: 7
Join Date: Jun 2011
Location: Anza, California
Need Help Sailing - 07-15-2011, 12:36 PM

I am lost on what i am doing wrong. The boat keeps going and going.
Attached Files
 Sailing.a2w (1.10 MB, 49 views)

Irene
(A.K.A mnstr8401)

legolizard
Senior Member

Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
07-15-2011, 12:52 PM

Ummm no it doesn't... What is supposed to happen?
Attached Images
 capture00.jpg (4.5 KB, 87 views)

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

 Sailing.
 mnstr8401 Junior Member     Status: Offline Posts: 7 Join Date: Jun 2011 Location: Anza, California Sailing. - 07-15-2011, 01:06 PM The boat is suppose to stop in front of the island. Create a sea world with a boat and an island. Position the island some distance away from the boat, as shown in Figure 8-26. Write a method named sailTo, which has an Object parameter. The method should cause the boat to move one meter toward the object and then recursively call itself until the boat has reached the object. Test the method by calling it and passing the island as the argument. Irene (A.K.A mnstr8401) Last edited by mnstr8401; 07-15-2011 at 01:11 PM.
 legolizard Senior Member     Status: Offline Posts: 242 Join Date: Jan 2011 Location: Aboard the Hyperion escaping the zerg. 07-15-2011, 01:17 PM Okay well I think you should use the" is within threshold of object " and if the life boat is then stop the boat(do nothing) else redo the method. "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
 Thanks
 mnstr8401 Junior Member     Status: Offline Posts: 7 Join Date: Jun 2011 Location: Anza, California Thanks - 07-15-2011, 01:52 PM Ill try that thank you Irene (A.K.A mnstr8401)

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge