fixed input controllerism - fixes #28

This commit is contained in:
Logsol 2013-07-30 18:13:39 +02:00
parent a59a258ad6
commit f5eacb6335
13 changed files with 163 additions and 223 deletions

View file

@ -112,10 +112,12 @@ function (Box2D, Settings, CollisionDetector) {
// to prevent higher jumping running uphill, etc.
}
/*
Doll.prototype.jumping = function () {
var vector = new Box2D.Common.Math.b2Vec2(0, -0.05);
this.body.ApplyImpulse(vector, this.body.GetPosition());
}
*/
Doll.prototype.destroy = function () {
this.body.GetWorld().DestroyBody(this.body);