       if aa%2 != anchor_a%2
         if anchor_a%2 == 0 then yy = yy+10 else yy = yy-10
       @hex_draw.fill_hex_xy(xx,yy,"#000000")
+
+
+  get_hexes: () ->
+    hexes = []
+    for bb in [1..10]
+      for aa in [1..24]
+        hexes.push([aa,bb]) if @grid[bb][aa] == @sym
+    return hexes
 
 
 

    if x>@left && x<@right && y>@top && y<@bottom then return true else return false


  # TODO Does this method belong in PuzzlePattern class?
  get_hexes: () ->
    hexes = []
    for bb in [1..10]
      for aa in [1..24]
        hexes.push([aa,bb]) if @puzzle.puzzle_pattern.grid[bb][aa] == @sym
    return hexes




    @events = new EventHandler(this)

    @puzzle_view = new PuzzleView(this)
    @piece = new PuzzlePiece(this)
    @colors = new ColorRotation
    @indicator = new Indicator(this)
    @grid_model = new PuzzleGridModel(this)
