/** * Retrieve the y coordinate of the underlying coordinate. * @return The y coordinate. */ public int getY() { return getModifier().read(1); }
/** * Set the x coordinate of the underlying coordinate. * @param newX - the new x coordinate. */ public void setX(int newX) { getModifier().write(0, newX); }
/** * Retrieve the z coordinate of the underlying coordinate. * @return The z coordinate. */ public int getZ() { return getModifier().read(2); }
/** * Retrieve the x coordinate of the underlying coordinate. * @return The x coordinate. */ public int getX() { return getModifier().read(0); }
/** * Set the y coordinate of the underlying coordinate. * @param newY - the new y coordinate. */ public void setY(int newY) { getModifier().write(1, newY); }
/** * Set the z coordinate of the underlying coordiate. * @param newZ - the new z coordinate. */ public void setZ(int newZ) { getModifier().write(2, newZ); }