| 1 | <?php |
||
| 16 | class Canvas { |
||
| 17 | protected $screen; |
||
| 18 | protected $width; |
||
| 19 | protected $height; |
||
| 20 | protected $charHeight; |
||
| 21 | |||
| 22 | public function __construct($w,$h){ |
||
| 26 | |||
| 27 | public function clear($clear=true){ |
||
| 34 | |||
| 35 | public function setPixel($x,$y,$c=1){ |
||
| 38 | |||
| 39 | public function width(){ |
||
| 42 | |||
| 43 | public function height(){ |
||
| 46 | |||
| 47 | public function __toString(){ |
||
| 50 | |||
| 51 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.