/js/core/AbstractGameView.js
JavaScript | 30 lines | 16 code | 1 blank | 13 comment | 0 complexity | 6e1492ca603b02bd3e05397cc16ba869 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- /**
- File:
- AbstractGameView.js
- Created By:
- Mario Gonzalez
- Project:
- RealtimeMultiplayerNodeJS
- Abstract:
- This class contains an interface for a GameView within RealtimeMultiplayerNodeJS
- Basic Usage:
- [This class only contains an interface]
- Your specific game's implementation of a GameView should implement at least these methods.
- */
- (function () {
- RealtimeMultiplayerGame.AbstractGameView = function () {
- };
- RealtimeMultiplayerGame.AbstractGameView.prototype = {
- setup: function () {
- },
- update: function (gameClockReal) {
- },
- addEntity: function (anEntityView) {
- },
- removeEntity: function (anEntityView) {
- },
- dealloc: function () {
- }
- };
- })();