<commit_before>require 'gosu'

# Create the player character class
class Player
	attr_reader :name, :x, :y, :current_image

	def initialize(window, name, x, y)
		@facing_right, @facing_up, @facing_left, @facing_down =
			Gosu::Image.load_tiles(window, 'art/custom_arrows.png', 16, 16, false)
		@current_image = @facing_down
		@x, @y = x, y
		@name = name
	end

	def update
		case @direction
			when :up    then @current_image = @facing_up
			when :down  then @current_image = @facing_down
			when :left  then @current_image = @facing_left
			when :right then @current_image = @facing_right
		end
	end
<commit_msg>Fix arrows.png name change error<commit_after>require 'gosu'

# Create the player character class
class Player
	attr_reader :name, :x, :y, :current_image

	def initialize(window, name, x, y)
		@facing_right, @facing_up, @facing_left, @facing_down =
			Gosu::Image.load_tiles(window, 'art/arrows.png', 16, 16, false)
		@current_image = @facing_down
		@x, @y = x, y
		@name = name
	end

	def update
		case @direction
			when :up    then @current_image = @facing_up
			when :down  then @current_image = @facing_down
			when :left  then @current_image = @facing_left
			when :right then @current_image = @facing_right
		end
	end

{'fraction_non_alphanumeric': 0.1074313408723748, 'fraction_numerical': 0.006462035541195477, 'mean_word_length': 4.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '384586', 'n_tokens_mistral': 504, 'n_tokens_neox': 438, 'n_words': 130}