diff --git a/lib/Chuck/Game.js b/lib/Chuck/Game.js deleted file mode 100644 index a2eb3a9..0000000 --- a/lib/Chuck/Game.js +++ /dev/null @@ -1,30 +0,0 @@ -define(["Chuck/Settings", "Chuck/Processors/ServerProcessor", "Chuck/Processors/ClientProcessor"], function(Settings, ServerProcessor, ClientProcessor){ - - function Game(networker){ - this.networker = networker; - this.processor = this.createProcessor(); - - this.processor.loadLevel("default.json"); - } - - Game.prototype.createProcessor = function(){ - var processor; - - if(Settings.IS_BROWSER_ENVIRONMENT){ - processor = new ClientProcessor(); - } else { - processor = new ServerProcessor(); - } - return processor; - } - - Game.prototype.processGameCommand = function(command, options){ - console.log('(not implemented) processGameCommand:', command, options); - } - - Game.prototype.destruct = function(){ - this.processor.destruct(); - } - - return Game; -}); \ No newline at end of file