示例#1
0
 /** Shortcut to get the location of this GameObject from the Transform3D. */
 public Vector3D getLocation() {
   return polygonGroup.getTransform().getLocation();
 }
示例#2
0
 /** Gets this object's transform. */
 public MovingTransform3D getTransform() {
   return polygonGroup.getTransform();
 }
示例#3
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);
   }
 }