x=$uusx; $this->y=$uusy; } public function kysiX(){ return $this->x; } public function kysiY(){ return $this->y; } public function kujundatudTrykk(){ return "[$this->x, $this->y]"; } public function liiguParemale(){ $this->x++; return $this->x; } public function kaugusNullist(){ return sqrt($this->x*$this->x+$this->y*$this->y); } public function tekstiKihina(){ return "