diff options
Diffstat (limited to 'src/Canvas/DrawContextInterface.php')
-rw-r--r-- | src/Canvas/DrawContextInterface.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Canvas/DrawContextInterface.php b/src/Canvas/DrawContextInterface.php index 1666d92..8505ef5 100644 --- a/src/Canvas/DrawContextInterface.php +++ b/src/Canvas/DrawContextInterface.php @@ -1,18 +1,19 @@ <?php + namespace GameBoy\Canvas; /** * Interface to draw the GameBoy output - * GameBoy screen size: 160 x 144 + * GameBoy screen size: 160 x 144. */ interface DrawContextInterface { /** - * Draw image on canvas + * Draw image on canvas. * - * @param Array $canvasBuffer Each pixel => 4 items on array (RGBA) - * @param int $left - * @param int $top + * @param array $canvasBuffer Each pixel => 4 items on array (RGBA) + * @param int $left + * @param int $top */ public function draw($canvasBuffer, $left, $top); } |