Esempio n. 1
0
 /**
  * Will update this nodes BaseEnemy and all BaseEnemys contained in nodes after this one
  */
 public void updateAll(int setAnimationTime)
 {
     if (nextNode != null)
     {
         nextNode.updateAll(setAnimationTime);
     }
     if (data != null)
     {
         data.update(setAnimationTime);
     }
 }
Esempio n. 2
0
 /**
  * Will call the update function on all enemies in the set
  * @param setAnimationTime
  */
 public void updateEnemiesInSet(int setAnimationTime)
 {
     firstNode.updateAll(setAnimationTime);
 }