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
287b5e0e18
commit
1546136303
1 changed files with 0 additions and 8 deletions
|
|
@ -51,8 +51,6 @@ function (Parent, Box2D, Settings, Assert) {
|
|||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Skateboard.prototype.addWheel = function(x, y) {
|
||||
Assert.number(x, y);
|
||||
|
||||
|
|
@ -80,16 +78,10 @@ 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;
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue