View Single Post
You might have misinterpreted the instructions.
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default You might have misinterpreted the instructions. - 01-12-2014, 05:42 PM

I don't have a copy of the book, but the instructions would seem to indicate that two object lists are needed. One for the unfound allBouys, and one for the pickedUpBouys.
When a picked new bouy is encountered, it is to be removed from allBouys, and added to pickedupBouys. Eventually the size of the second list will equal 7.

Also, if you are using 2.4.1, the "while world is running" event might be broken.
   
Reply With Quote