Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. socket.on('uplink', function(camera, entityList, guiInfo, debugLines, debugCircles, debugRects) { // Handle updates.
  2. player.x = camera.x;
  3. player.y = camera.y;
  4. player.view = camera.view;
  5. entities = entityList;
  6. gui = guiInfo; /*************** Here it comes in *****************/
  7. lines = debugLines;
  8. circles = debugCircles;
  9. rects = debugRects;
  10. console.log(gui.upgrades); /***************** And here it's logged **************/
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement