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