From bb0465258d20badae7f9aa62849c02a94244570c Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 5 Oct 2009 19:21:44 +1000 Subject: Consistent Commenting in Samegame --- demos/declarative/samegame/content/samegame.js | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v0.12