extended client server communication

This commit is contained in:
logsol 2012-07-08 04:29:14 +02:00
parent 94f63fc7b2
commit 81d2aa4ddc
12 changed files with 156 additions and 86 deletions

17
lib/Chuck/Game.js Normal file
View file

@ -0,0 +1,17 @@
define(["Chuck/Processor"], function(Processor){
function Game(networker){
this.networker = networker;
this.processor = new Processor();
}
Game.prototype.processGameCommand = function(command, options){
console.log('(not implemented) processGameCommand:', command, options);
}
Game.prototype.destruct = function(){
this.processor.destruct();
}
return Game;
});