Advertisement
jahkr

Untitled

May 4th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             for(x = 0; x <= 10; x++) {
  2.                 row = grid[x];
  3.                 nodes[x] = new Array(15);
  4.                 for(y = 0; y <= 15; y++) {
  5.                     nodes[x][y] = new GraphNode(x, y, row[y]);
  6.                     console.log("Row X: " + row[x] + ", Row Y: " + row[y]);
  7.                 }
  8.             }
  9. //view it online at http://mystikrpg.com/html5/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement