I'm trying to implement an object hierachy. I have no problem in creating it but then I need to draw it.
So i have my parent node that will point to its children and them children will point to their own children and so and so forth.
So I draw the parent and then the children, i thought of then going through the children making them the parent and then draw their children so the algorithm is recursive. But im having such a brain block and cant think of how to do that second stage, can anyone possible help??
I'm not the greatest programmer and so the answer is probably very simple. eugh head pain.