mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
removed worm
This commit is contained in:
parent
69fd43a900
commit
0adbc2a10a
4 changed files with 16 additions and 26 deletions
|
|
@ -48,8 +48,8 @@ function (ProtocolHelper, GameController) {
|
|||
|
||||
|
||||
Networker.prototype.onJoinSuccess = function (options) {
|
||||
//this.gameController = new GameController();
|
||||
//this.gameController.loadLevel("default.json");
|
||||
this.gameController = new GameController();
|
||||
this.gameController.loadLevel("default.json");
|
||||
|
||||
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ function (ProtocolHelper, GameController) {
|
|||
}
|
||||
|
||||
Networker.prototype.onUserJoined = function (userId) {
|
||||
//this.gameController.userJoined(userId);
|
||||
//this.gameController.userJoined(userId); -> replace with game command
|
||||
console.log("User " + userId + " joined");
|
||||
}
|
||||
/*
|
||||
|
|
@ -88,7 +88,7 @@ function (ProtocolHelper, GameController) {
|
|||
}
|
||||
*/
|
||||
Networker.prototype.onUserLeft = function (userId) {
|
||||
//this.gameController.userLeft(userId);
|
||||
//this.gameController.userLeft(userId); -> replace with game command
|
||||
console.log("User " + userId + " left");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue