PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/js/BubbleDots/server.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 47 lines | 29 code | 3 blank | 15 comment | 0 complexity | f976fc483f625883462e99f1f51a1f96 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 */
15require("../lib/SortedLookupTable.js");
16require("../core/RealtimeMutliplayerGame.js");
17require("../model/Point.js");
18require("../model/Constants.js");
19require("../model/NetChannelMessage.js");
20require("../model/GameEntity.js");
21require("../model/WorldEntityDescription.js");
22require("../network/ServerNetChannel.js");
23require("../network/Client.js");
24require("../lib/circlecollision/Circle.js");
25require("../lib/circlecollision/CircleManager.js");
26require("../controller/FieldController.js");
27require("../core/AbstractGame.js");
28require("../core/AbstractServerGame.js");
29require("../input/Keyboard.js");
30require("../controller/traits/BaseTrait.js");
31
32
33//require("v8-profiler");
34require("./BubbleDotsApp.js");
35require("./BubbleDotsConstants.js");
36require("./entities/CircleEntity.js");
37require("./entities/PlayerEntity.js");
38require("./traits/FoodTrait.js");
39require("./traits/PoisonTrait.js");
40require("./traits/PerlinNoiseTrait.js");
41require("./traits/ChaseTrait.js");
42require("./traits/GravityTrait.js");
43require("./traits/BoundaryTrait.js");
44require("./BubbleDotsServerGame.js");
45
46var game = new BubbleDots.DemoServerGame();
47game.startGameClock();