samples/99_genre_rpg_roguelike/02_roguelike_line_of_sight/app/main.rb
def cell_border x, y, color = nil
    [left_margin   + x * grid_size,
    bottom_margin + y * grid_size,
    grid_size,
    grid_size,
    *color]
  end
# Sets definition of a cell border using the parameters
Sets definition of a cell border using the parameters
Sets definition of a cell border using the parameters
def cell_border x, y, color = nil
    [left_margin   + x * grid_size,
    bottom_margin + y * grid_size,
    grid_size,
    grid_size,
    *color]
  end
def cell_border x , y , color = nil [ left_margin + x * grid_size , bottom_margin + y * grid_size , grid_size , grid_size , * color ] end
Sets definition of a cell border using the parameters
Sets definition of a cell border using the parameters
x
y
color