예제 #1
0
파일: Rook.php 프로젝트: sparrow41/training
 public function __construct($shape)
 {
     parent::__construct($shape);
 }
예제 #2
0
 function __construct($centerX, $centerY, $side)
 {
     parent::__construct($centerX, $centerY);
     $this->side = $side;
 }
예제 #3
0
파일: figure.php 프로젝트: auvarov/yell
 public function __construct($x_center, $y_center, $color, $line_dim, $length)
 {
     parent::__construct('square', $x_center, $y_center, $color, $line_dim);
     $this->length = $length;
 }
예제 #4
0
 function __construct($a, $b, $c, $p, $name)
 {
     $this->b = $b;
     $this->c = $c;
     parent::__construct($a, $p, $name);
 }