Questions? Answers? Comments? Comments on Questions or Answers?
(Back to Final Exam Review Spring2006)
Lets see if I can write out the tree....
sceneRoot has a child forest, then a next village and a next wolfentry
forest has a child trees; trees has a child treenode, a next treenode and a next treenode
vilage has a child hhouses; hhouses has a child house4, a next house5, a next house6, a next house1, a next house2 and a next house3
wolfentry has a child wolves; wolves has a child wolf1, a next wolf2 and a next wolf3
Did that make any sense at all?
And about part B; am I to insert the sceneRoot.addREMOVEDld(hero) and sceneRoot.addREMOVEDld(wolfretreat) into the code beforehand?
the village branch should be: child hhouses; hhouses has a child house1, a next house2, a next house3, a next vhouses; vhouses has a child house4, a next house5, and a next house6
Okay this is my attempt at it, sorry if it's a little messy looking...
PS... I dunno why it's also showing up down there...
lol. Your diagram looks correct to me
The root should have NO Next links coming off it, only REMOVEDld links. (But a cool diagram, all the same!) Mark Guzdial
i think this is how it works
child: ==>
next: –> and |
->
i am not 100% on the hero and wolfretreat because i do not know how they are added, i just guessed that hero would be a 'child' of root and wolfretreat would have been a 'child' of hero
-jacob
ok, so this did not like my downward next arrows: the village should be next from forset, wolfentry next from village, hero next from wolfentry.
-jacob
There isn't a next coming off of the root. That next is coming from the village over to the wolfentry... yeah.. it's a little messy looking
yeah, the next arrow is just swooping across from village. I'm still pretty sure the diagram is the correct answer.