mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
21 lines
No EOL
517 B
JavaScript
21 lines
No EOL
517 B
JavaScript
define(["Chuck/Processors/ServerProcessor"], function(ServerProcessor) {
|
|
|
|
function ServerGame(chanel) {
|
|
this.chanel = chanel;
|
|
this.processor = new ServerProcessor();
|
|
}
|
|
|
|
ServerGame.prototype.loadLevel = function(path) {
|
|
this.processor.loadLevel(path);
|
|
}
|
|
|
|
ServerGame.prototype.processGameCommand = function(command, options) {
|
|
console.log('(not implemented) processGameCommand:', command, options);
|
|
}
|
|
|
|
ServerGame.prototype.destruct = function() {
|
|
this.processor.destruct();
|
|
}
|
|
|
|
return ServerGame;
|
|
}); |