PageRenderTime 190ms CodeModel.GetById 50ms app.highlight 1ms RepoModel.GetById 69ms app.codeStats 0ms

/js/DemoHelloWorld/DemoHelloWorldConstants.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 29 lines | 12 code | 1 blank | 16 comment | 0 complexity | 308efff6fa33c8435b91a5715c24ddb6 MD5 | raw file
 1/**
 2 File:
 3 DemoHelloWorldConstants.js
 4 Created By:
 5 Mario Gonzalez
 6 Project:
 7 RealtimeMultiplayerNodeJS - Demo
 8 Abstract:
 9 This class contains Constants used by the DemoHelloWorld in RealtimeMultiplayerGame
10 Basic Usage:
11 [This class is not instantiated! - below is an example of using this class by extending it]
12 var clientDropWait = RealtimeMultiplayerGame.Constants.CL_DEFAULT_MAXRATE
13
14 Version:
15 1.0
16 */
17(function () {
18    DemoHelloWorld.Constants = {
19        ENTITY_DEFAULT_RADIUS: 8,
20        GAME_WIDTH: 700,
21        GAME_HEIGHT: 450,
22        MAX_CIRCLES: 300,
23        GAME_DURATION: 1000 * 300,
24
25        ENTITY_TYPES: {
26            CIRCLE: 1 << 1
27        }
28    }
29})();