/** * * @param point $point */ public function equals($point) { return $this->_x == $point->getX() && $this->_y == $point->getY(); }