PageRenderTime 357ms CodeModel.GetById 175ms app.highlight 2ms RepoModel.GetById 179ms app.codeStats 0ms

/js/DemoBox2D/server.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 39 lines | 21 code | 3 blank | 15 comment | 0 complexity | 01222882dbf8f7eea46dc3f135c74016 MD5 | raw file
 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
16require("../lib/SortedLookupTable.js");
17require("../core/RealtimeMutliplayerGame.js");
18require("../model/Point.js");
19require("../lib/circlecollision/Circle.js");
20require("../lib/circlecollision/CircleManager.js");
21require("../model/Constants.js");
22require("../model/NetChannelMessage.js");
23require("../controller/FieldController.js");
24require("../core/AbstractGame.js");
25require("../network/Client.js");
26require("../network/ServerNetChannel.js");
27require("../core/AbstractServerGame.js");
28require("../model/GameEntity.js");
29require("../model/WorldEntityDescription.js");
30require("../input/Keyboard.js");
31
32//require("v8-profiler");
33require("./DemoBox2DApp.js");
34require("./DemoBox2DConstants.js");
35require("./DemoBox2DEntity.js");
36require("./DemoBox2DServerGame.js");
37
38var game = new DemoBox2D.DemoServerGame();
39game.startGameClock();