From 1546136303129c25af5e5478144bf18fa0c823cb Mon Sep 17 00:00:00 2001 From: logsol Date: Mon, 20 Apr 2015 16:00:07 +0200 Subject: [PATCH] rebuilt skateboard without joints --- app/Game/Core/GameObjects/Items/Skateboard.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/Game/Core/GameObjects/Items/Skateboard.js b/app/Game/Core/GameObjects/Items/Skateboard.js index ae4e00a..1e12df6 100755 --- a/app/Game/Core/GameObjects/Items/Skateboard.js +++ b/app/Game/Core/GameObjects/Items/Skateboard.js @@ -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;