fixes for animations with head and jump, etc.

This commit is contained in:
jeena 2013-12-25 00:28:28 +01:00
parent 142964938c
commit 283a1ef48b
16 changed files with 147 additions and 109 deletions

View file

@ -19,7 +19,7 @@ function (Doll, Settings) {
};
Player.prototype.spawn = function (x, y) {
this.doll = new Doll(this.physicsEngine, this.id);
this.doll = new Doll(this.physicsEngine, "doll-" + this.id);
this.doll.spawn(x, y);
this.isSpawned = true;
}