rebuilt skateboard without joints

This commit is contained in:
logsol 2015-04-20 16:00:07 +02:00
parent 09eaf1a85c
commit b12bf2bb0c

View file

@ -51,8 +51,6 @@ function (Parent, Box2D, Settings, Assert) {
};
Skateboard.prototype.addWheel = function(x, y) {
Assert.number(x, y);
@ -80,15 +78,9 @@ function (Parent, Box2D, Settings, Assert) {
this.body.CreateFixture(fixtureDef);
};
Skateboard.prototype.flip = function(direction) {
this.flipDirection = direction;
// FIXME: implement body flip if necessary
};
return Skateboard;