code: protected boolean updatePositionTo (Pathable pable, int x, int y)
      {
          if ((pable.getX() == x) && (pable.getY() == y)) {
              return false;
          } else {
              pable.setLocation(x, y);
              return true;
          }
      }
docs: Update the position of the pathable or return false if it's already there.