PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/js/core/AbstractGameView.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 30 lines | 16 code | 1 blank | 13 comment | 0 complexity | 6e1492ca603b02bd3e05397cc16ba869 MD5 | raw file
 1/**
 2 File:
 3 AbstractGameView.js
 4 Created By:
 5 Mario Gonzalez
 6 Project:
 7 RealtimeMultiplayerNodeJS
 8 Abstract:
 9 This class contains an interface for a GameView within RealtimeMultiplayerNodeJS
10 Basic Usage:
11 [This class only contains an interface]
12 Your specific game's implementation of a GameView should implement at least these methods.
13 */
14(function () {
15    RealtimeMultiplayerGame.AbstractGameView = function () {
16    };
17
18    RealtimeMultiplayerGame.AbstractGameView.prototype = {
19        setup: function () {
20        },
21        update: function (gameClockReal) {
22        },
23        addEntity: function (anEntityView) {
24        },
25        removeEntity: function (anEntityView) {
26        },
27        dealloc: function () {
28        }
29    };
30})();