mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
18 lines
No EOL
424 B
JavaScript
18 lines
No EOL
424 B
JavaScript
define(["Chuck/Processor"], function(Processor){
|
|
|
|
function Game(networker){
|
|
this.networker = networker;
|
|
this.processor = new Processor();
|
|
this.processor.loadLevel("default.json");
|
|
}
|
|
|
|
Game.prototype.processGameCommand = function(command, options){
|
|
console.log('(not implemented) processGameCommand:', command, options);
|
|
}
|
|
|
|
Game.prototype.destruct = function(){
|
|
this.processor.destruct();
|
|
}
|
|
|
|
return Game;
|
|
}); |