diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-01 02:49:35 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-01 05:10:50 (GMT) |
commit | 919ee9dd93ad382ddd813d58a356fd3f8d179046 (patch) | |
tree | 08f89cc2c90f9cc85318d2e32c0b305310fe9965 /examples/declarative/tutorials/samegame/samegame3/samegame.js | |
parent | 7e94b6e0f706284088d52054ef0d1be0a13ea186 (diff) | |
download | Qt-919ee9dd93ad382ddd813d58a356fd3f8d179046.zip Qt-919ee9dd93ad382ddd813d58a356fd3f8d179046.tar.gz Qt-919ee9dd93ad382ddd813d58a356fd3f8d179046.tar.bz2 |
Doc improvements, fixes
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame3/samegame.js')
-rw-r--r-- | examples/declarative/tutorials/samegame/samegame3/samegame.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame3/samegame.js b/examples/declarative/tutorials/samegame/samegame3/samegame.js index 38efb3b..33449fa 100644 --- a/examples/declarative/tutorials/samegame/samegame3/samegame.js +++ b/examples/declarative/tutorials/samegame/samegame3/samegame.js @@ -14,12 +14,6 @@ function index(xIdx,yIdx) { function initBoard() { - for(var i = 0; i<maxIndex; i++){ - //Delete old blocks - if(board[i] != null) - board[i].destroy(); - } - //Calculate board size maxX = Math.floor(gameCanvas.width/gameCanvas.tileSize); maxY = Math.floor(gameCanvas.height/gameCanvas.tileSize); |