/js/DemoHelloWorld/DemoHelloWorldConstants.js
JavaScript | 29 lines | 12 code | 1 blank | 16 comment | 0 complexity | 308efff6fa33c8435b91a5715c24ddb6 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- /**
- File:
- DemoHelloWorldConstants.js
- Created By:
- Mario Gonzalez
- Project:
- RealtimeMultiplayerNodeJS - Demo
- Abstract:
- This class contains Constants used by the DemoHelloWorld in RealtimeMultiplayerGame
- Basic Usage:
- [This class is not instantiated! - below is an example of using this class by extending it]
- var clientDropWait = RealtimeMultiplayerGame.Constants.CL_DEFAULT_MAXRATE
- Version:
- 1.0
- */
- (function () {
- DemoHelloWorld.Constants = {
- ENTITY_DEFAULT_RADIUS: 8,
- GAME_WIDTH: 700,
- GAME_HEIGHT: 450,
- MAX_CIRCLES: 300,
- GAME_DURATION: 1000 * 300,
- ENTITY_TYPES: {
- CIRCLE: 1 << 1
- }
- }
- })();