@Override
	public boolean equals(Object foo) {
		if (foo instanceof Location) {
			Location fooLocation = (Location) foo;
			return fooLocation.getX() == x && fooLocation.getY() == y;
		}
		return super.equals(foo);
	}