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
|
|
@ -29,16 +29,12 @@ function (Engine, Level, Player) {
|
|||
this.level.loadLevelInToEngine();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
GameController.prototype.destroy = function () {
|
||||
for(var player in this.players) {
|
||||
this.players[player].destroy();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
GameController.prototype.userJoined = function (user) {
|
||||
var player = new Player(user.id, this.physicsEngine);
|
||||
this.players[user.id] = player;
|
||||
|
|
@ -51,7 +47,6 @@ function (Engine, Level, Player) {
|
|||
delete this.players[user.id];
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
return GameController;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue