if (!Physics.Line || KAPhy.version !== KAPhy.current) {
  Physics.Line = function(config) {
    this.one = config.one || new Vector2();
    this.two = config.two || new Vector2();

    /** Bounce Coefficient **/
    this.bcf = config.bcf || 0.75;

    /** Radius **/
    this.rad = config.rad || 4;
  };
  Physics.Line.prototype.draw = function() {
    ctx.beginPath();
    ctx.strokeStyle = "#000";
    ctx.lineWidth = this.rad * 2;
    ctx.moveTo(this.one.x, this.one.y);
    ctx.lineTo(this.two.x, this.two.y);
    ctx.stroke();
  };
}

@@ -350,75 +350,46 @@
     
-ctx.beginPath(
+Draw.stroke(0
 );%0A    
-ctx
+Draw
 .stroke
-Style = %22#000%22;%0A    ctx.lineWidth = 
+Weight(
 this
@@ -400,24 +400,24 @@
  * 2
+)
 ;%0A    
-ctx.moveTo
+Draw.line
 (thi
@@ -422,16 +422,20 @@
 his.one.
+pos.
 x, this.
@@ -442,27 +442,15 @@
 one.
-y);%0A    ctx.lineTo(
+pos.y, 
 this
@@ -454,16 +454,20 @@
 his.two.
+pos.
 x, this.
@@ -474,27 +474,13 @@
 two.
-y);%0A    ctx.stroke(
+pos.y
 );%0A 

Update line.js