 
 
 
-class HexGrid extends HexBox
+class HexGrid extends HexBox # NEW CLASS
 
   constructor: (puzzle_app) ->
     @puzzle = puzzle_app

    @mask = new MissingPiecesMask(this)
    @piece = new PuzzlePiece(this)

#    @pattern.draw_pattern()
    @piece.construct_piece("i")
    @piece.draw_piece(0,0)

#    @piece.draw_piece_ab(@piece.box.anchor_hex[0],@piece.box.anchor_hex[1])

    @hex_box.set_hex_box("i")

    @hex_draw.draw_all_hexes()

    @pixel_test = new PixelHexTester(this)
    @pixel_test.mark_hex_centerpoints()
    @pixel_test.test(100000)




  set_hex_box: (piece_symbol) ->
    @reset_hexes(@get_hexes(piece_symbol))
    @get_box_metrics()


  reset_hexes: (hex_collection) ->
    @hexes = hex_collection


  get_box_metrics: () ->
