samples/99_genre_rpg_roguelike/02_roguelike_line_of_sight/app/main.rb
def render_player
    outputs.labels << [grid_x(state.x) + 20, # positions "@" text in center of grid square
                     grid_y(state.y) + 35,
                     "@", # player is represented by a white "@" character
                     1, 1, *white]
  end
# Sets the values for the player and outputs it as a label
Sets the values for the player and outputs it as a label
Sets the values for the player and outputs it as a label
def render_player
    outputs.labels << [grid_x(state.x) + 20, 
                     grid_y(state.y) + 35,
                     "@", 
                     1, 1, *white]
  end
def render_player outputs . labels << [ grid_x ( state . x ) + 20 , grid_y ( state . y ) + 35 , "@" , 1 , 1 , * white ] end
Sets the values for the player and outputs it as a label
Sets the values for the player and outputs it as a label
# positions "@" text in center of grid square # player is represented by a white "@" character