Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket.on('uplink', function(camera, entityList, guiInfo, debugLines, debugCircles, debugRects) { // Handle updates.
- player.x = camera.x;
- player.y = camera.y;
- player.view = camera.view;
- entities = entityList;
- gui = guiInfo; /*************** Here it comes in *****************/
- lines = debugLines;
- circles = debugCircles;
- rects = debugRects;
- console.log(gui.upgrades); /***************** And here it's logged **************/
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement