This commit is contained in:
Jeena 2014-03-02 01:15:33 +01:00
parent 810a74a28b
commit 39bdac0d7b
12 changed files with 118 additions and 100 deletions

View file

@ -94,7 +94,7 @@ function (PhysicsEngine, TiledLevel, Player, Nc) {
}
GameController.prototype.createPlayer = function(user) {
var player = new Player(user.id, this.physicsEngine);
var player = new Player(user.id, this.physicsEngine, user);
this.players[user.id] = player;
return player;
};