mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
rebuilt skateboard without joints
This commit is contained in:
parent
09eaf1a85c
commit
b12bf2bb0c
1 changed files with 0 additions and 8 deletions
|
|
@ -51,8 +51,6 @@ function (Parent, Box2D, Settings, Assert) {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Skateboard.prototype.addWheel = function(x, y) {
|
Skateboard.prototype.addWheel = function(x, y) {
|
||||||
Assert.number(x, y);
|
Assert.number(x, y);
|
||||||
|
|
||||||
|
|
@ -80,16 +78,10 @@ function (Parent, Box2D, Settings, Assert) {
|
||||||
this.body.CreateFixture(fixtureDef);
|
this.body.CreateFixture(fixtureDef);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Skateboard.prototype.flip = function(direction) {
|
Skateboard.prototype.flip = function(direction) {
|
||||||
this.flipDirection = direction;
|
this.flipDirection = direction;
|
||||||
|
|
||||||
// FIXME: implement body flip if necessary
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return Skateboard;
|
return Skateboard;
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue