protected function drawCircle() { $DP2 = new DP2(); $DP2->drawcircle($this->_x, $this->_y, $this->_r); }
public function drawCircle($x, $y, $r) { $DP2 = new DP2(); $DP2->drawcircle($x, $y, $r); }