public function setCoordinates($x = false, $y = false)
    {
        if (($x === false) || ($y === false)) {
            $this->x = $this->y = false;

            return;
        }
        $this->x = (integer) $x;
        $this->y = (integer) $y;
    }