public boolean equals(Object obj){
		if(obj instanceof PathNode){
			PathNode other = (PathNode) obj;
			if(other.getX() == this.getX() &&
			   other.getY() == this.getY()){
				return true;
			}
		}
		
		return false;
	}