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