/js/core/AbstractGameView.js
http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · JavaScript · 30 lines · 16 code · 1 blank · 13 comment · 0 complexity · 6e1492ca603b02bd3e05397cc16ba869 MD5 · raw file
- /**
- 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 () {
- }
- };
- })();