Change Contents of the Bubble
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Midterm exam 2 review Sp2006: Make a Scene

Comments, Questions, Answers, Questions about Answers?
(Back to Midterm Exam 2 Review Sp2006)


Would the dog point to the trees or to the houses?

Think about the ordering. Mark Guzdial

the dog should point to the houses.
first you make all the nodes. then you make the linked list:
dogNode.setnext(houseNode);houseNode.setnext(houseNode2);houseNode2.setnext(houseNode3);
houseNode3.setnext(treeNode);treeNode.setNext(treeNode2);treeNode2.setNext(treeNode3);
then you set the bg as jungle.jpg and then drawFromMeOn(bg)



Link to this Page