Esempio n. 1
0
 /**
  * Will draw the data of this node and the data of all subsequent nodes
  */
 public void drawAll(Camera drawLocation)
 {
     if (data != null)
     {
         data.paint(drawLocation);
     }
     if (nextNode != null)
     {
         nextNode.drawAll(drawLocation);
     }
 }
Esempio n. 2
0
 /**
  * Will draw all of the nodes in the list
  */
 public void drawAll(Camera drawLocation)
 {
     firstNode.drawAll(drawLocation);
 }