   draw_piece: (x,y) ->
     context = @puzzle.puzzle_view.context_canvas
     context.drawImage(@piece_mask.img,x,y)
+    @reset_bounding_box(x,y)
+
+
+  # TODO This 'bounding box' thing might be something that we'll eventually
+  #      want to break out into a separate class representing the rendering
+  #      location of the piece as it is drawn in different locations across
+  #      the grid.
+  reset_bounding_box: (x,y) ->
+    @left = x
+    @right = x + @width
+    @top = y
+    @bottom = y + @height
+
+
+  in_bounding_box: (x,y) ->
+    if x>@left && x<@right && y>@top && y<@bottom then return true else return false
 
 
   # TODO Does this method belong in PuzzlePattern class?

    @show_clicks = true


  click_handle: (e) ->
    @canvas = document.getElementById("puzzle-widget")
    dx = @canvas.offsetLeft
    dy = @canvas.offsetTop



@mousedown = (e) ->
  @app.events.handle_mousedown(e)


start = () ->
