package base;

public class Location {
	public int mX;
	public int mY;
	
	public Location(int x, int y){
		mX = x;
		mY = y;
	}

	public void setTo(Location newLocation) {
		this.mX = newLocation.mX;
		this.mY = newLocation.mY;
	}
	
	public boolean equals(Location location){
		if (this.mX != location.mX) return false;
		if (this.mY != location.mY) return false;
		return true;
	}
}

@@ -375,10 +375,62 @@
 rue;%0A%09%7D%0A
+%09%0A%09public void add(int z)%7B%0A%09%09mX += z;%0A%09%09mY += z;%0A%09%7D%0A
 %7D%0A

set up new location method of X image