PageRenderTime 32ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/js/DemoHelloWorld/server.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 39 lines | 21 code | 3 blank | 15 comment | 0 complexity | 7218fa76bfbc2f6303f38e58e203ea92 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. /**
  2. File:
  3. server.js
  4. Created By:
  5. Mario Gonzalez
  6. Project:
  7. RealtimeMultiplayerNodeJS
  8. Abstract:
  9. This is the base server module for starting RealtimeMultiplayerGame
  10. Basic Usage:
  11. node server.js
  12. Version:
  13. 1.0
  14. */
  15. require("../lib/SortedLookupTable.js");
  16. require("../core/RealtimeMutliplayerGame.js");
  17. require("../model/Point.js");
  18. require("../lib/circlecollision/Circle.js");
  19. require("../lib/circlecollision/CircleManager.js");
  20. require("../model/Constants.js");
  21. require("../model/NetChannelMessage.js");
  22. require("../controller/FieldController.js");
  23. require("../core/AbstractGame.js");
  24. require("../network/Client.js");
  25. require("../network/ServerNetChannel.js");
  26. require("../core/AbstractServerGame.js");
  27. require("../model/GameEntity.js");
  28. require("../model/WorldEntityDescription.js");
  29. require("../input/Keyboard.js");
  30. //require("v8-profiler");
  31. require("./DemoHelloWorld.js");
  32. require("./DemoHelloWorldConstants.js");
  33. require("./CircleEntity.js");
  34. require("./DemoServerGame.js");
  35. var game = new DemoHelloWorld.DemoServerGame();
  36. game.startGameClock();