diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-10-05 09:21:44 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-10-05 09:50:38 (GMT) |
commit | bb0465258d20badae7f9aa62849c02a94244570c (patch) | |
tree | 62a4b0e03c40749f542e23a36ad3ee4bb8594f00 /demos | |
parent | a943e0ae741115fbdd72b7ecfa7702f90ad0890b (diff) | |
download | Qt-bb0465258d20badae7f9aa62849c02a94244570c.zip Qt-bb0465258d20badae7f9aa62849c02a94244570c.tar.gz Qt-bb0465258d20badae7f9aa62849c02a94244570c.tar.bz2 |
Consistent Commenting in Samegame
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/declarative/samegame/content/samegame.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/content/samegame.js b/demos/declarative/samegame/content/samegame.js index e42b7cc..cf55b59 100755 --- a/demos/declarative/samegame/content/samegame.js +++ b/demos/declarative/samegame/content/samegame.js @@ -30,6 +30,7 @@ function initBoard() board[i].destroy(); } + //Calculate board size maxX = Math.floor(gameCanvas.width/tileSize); maxY = Math.floor(gameCanvas.height/tileSize); maxIndex = maxY*maxX; |