blockmap.rb
# Change the colour of the blocks rooted at the top-left corner.
Change the colour of the blocks rooted at the top-left corner.
Change the colour of the blocks rooted at the top - left corner .
def change_colour(colour)
      return false if @tlc == colour
      build_block_list
      colour = best_colour if colour >= COLOR_TABLE.size
      @tl_list.each { |col, row| @blocks[row][col] = colour }
      @tlc = @blocks[0][0]
      true    
    end
def change_colour ( colour ) return false if @tlc == colour build_block_list colour = best_colour if colour >= COLOR_TABLE . size @tl_list . each { | col , row | @blocks [ row ] [ col ] = colour } @tlc = @blocks [ 0 ] [ 0 ] true end
Change the colour of the blocks rooted at the top-left corner.
Change the colour of the blocks rooted at the top - left corner .
# Return false if the top-left colour is already the colour requested # Debugging 'Auto' button # Changed colours
colour
<not_specific>