samples/99_genre_rpg_roguelike/02_roguelike_line_of_sight/app/main.rb
#White labels are output for the cell coordinates of each element in the dungeon collection.
White labels are output for the cell coordinates of each element in the dungeon collection.
White labels are output for the cell coordinates of each element in the dungeon collection .
def print_cell_coordinates
    return unless state.debug
    state.dungeon.each do |d|
      outputs.labels << [grid_x(d.x) + 2,
                         grid_y(d.y) - 2,
                         "#{d.x},#{d.y}",
                         -2, 0, *white]
    end
  end
def print_cell_coordinates return unless state . debug state . dungeon . each do | d | outputs . labels << [ grid_x ( d . x ) + 2 , grid_y ( d . y ) - 2 , "#{d.x},#{d.y}" , - 2 , 0 , * white ] end end
White labels are output for the cell coordinates of each element in the dungeon collection.
White labels are output for the cell coordinates of each element in the dungeon collection .