 
     bindEvents : =>
         @B().appView.on @B().appView.EVENT_UPDATE_DIMENSIONS, @setDims
+
+        # @$window.on 'resize orientationchange', @onResize
+
         null
 
     setDims : (renderer=false)=>

            dist = NumUtil.distanceBetweenPoints shape.sprite.position, { x: @w/2, y: @h/2 }

            # @linesObj.lineStyle( 1, "#rgba(0, 0, 0, {NumUtil.map dist, 0, 300, 1, .1 )})" )
            @linesObj.lineStyle( .5, 0x000000, .1 )
            @linesObj.moveTo(@w/2, @h/2);
            @linesObj.lineTo( shape.sprite.x , shape.sprite.y);
         

        null


    onResize: () =>
        console.log @
        null

module.exports = InteractiveCanvas
