Example #1
0
 /**
  * If this GameObject is in the active state, this method updates it's PolygonGroup. Otherwise,
  * this method does nothing.
  */
 public void update(GameObject player, long elapsedTime) {
   if (isActive()) {
     polygonGroup.update(elapsedTime);
   }
 }