<commit_before>import pygame

class Game:
	def __init__(self, window, screenHeight, screenWidth):
		self.clock = pygame.time.Clock()
		self.currentLevel = 0
		self.gameState = 'PLAYING'
		self.levelList = []
		self.levelCounter = 0
		self.enemyList = []
		self.nameList = []
		self.life = 3
		self.animation = 0
		self.animationCounter = 0
		self.window = window
		self.screenHeight = screenHeight
		self.screenWidth = screenWidth
		self.camera_x = screenWidth/2
		self.camera_y = 0
		self.close_parallax_scale = .25
		self.far_parallax_scale = .1



		self.lifeImage = pygame.image.load("../images/life.png")

		self.waterImage = pygame.image.load("../images/water.png")

		self.waveImage = [pygame.image.load("../images/wave1.png"),
						  pygame.image.load("../images/wave2.png"),
						  pygame.image.load("../images/wave3.png"),
						  pygame.image.load("../images/wave4.png")]

		self.playerBreath = [pygame.image.load("../images/player-idle-1.png"),
							 pygame.image.load("../images/player-idle-2.png"),
							 pygame.image.load("../images/player-idle-3.png"),
							 pygame.image.load("../images/player-idle-4.png")]

		self.playerWalk = [pygame.image.load("../images/player-run-1.png"),
						   pygame.image.load("../images/player-run-2.png"),
						   pygame.image.load("../images/player-run-3.png"),
						   pygame.image.load("../images/player-run-4.png")]

		self.playerJump = pygame.image.load("../images/player-run-1.png")

		self.enemyBreath = [pygame.image.load("../images/enemy1.png"),
							pygame.image.load("../images/enemy2.png")]
		self.enemyJump = pygame.image.load("../images/enemy3.png")
		self.farParallax = pygame.image.load("../images/blue_parallax.png")
		self.closeParallax = pygame.image.load("../images/color_parallax.png")



	def setCurrentLevel(self, newLevel):
		self.currentLevel = newLevel

	def getCurrentLevel(self):
		return self.currentLevel

	def animate(self):
		self.animationCounter += 1<commit_msg>loaded genie images<commit_after>import pygame

class Game:
	def __init__(self, window, screenHeight, screenWidth):
		self.clock = pygame.time.Clock()
		self.currentLevel = 0
		self.gameState = 'PLAYING'
		self.levelList = []
		self.levelCounter = 0
		self.enemyList = []
		self.nameList = []
		self.life = 3
		self.animation = 0
		self.animationCounter = 0
		self.window = window
		self.screenHeight = screenHeight
		self.screenWidth = screenWidth
		self.camera_x = screenWidth/2
		self.camera_y = 0
		self.close_parallax_scale = .25
		self.far_parallax_scale = .1



		self.lifeImage = pygame.image.load("../images/life.png")

		self.waterImage = pygame.image.load("../images/water.png")

		self.waveImage = [pygame.image.load("../images/wave1.png"),
						  pygame.image.load("../images/wave2.png"),
						  pygame.image.load("../images/wave3.png"),
						  pygame.image.load("../images/wave4.png")]

		self.playerBreath = [pygame.image.load("../images/player-idle-1.png"),
							 pygame.image.load("../images/player-idle-2.png"),
							 pygame.image.load("../images/player-idle-3.png"),
							 pygame.image.load("../images/player-idle-4.png")]

		self.playerWalk = [pygame.image.load("../images/player-run-1.png"),
						   pygame.image.load("../images/player-run-2.png"),
						   pygame.image.load("../images/player-run-3.png"),
						   pygame.image.load("../images/player-run-4.png")]

		self.playerJump = pygame.image.load("../images/player-run-1.png")

		self.enemyBreath = [pygame.image.load("../images/enemy1.png"),
							pygame.image.load("../images/enemy2.png")]
		self.enemyJump = pygame.image.load("../images/enemy3.png")
		self.farParallax = pygame.image.load("../images/blue_parallax.png")
		self.closeParallax = pygame.image.load("../images/color_parallax.png")

		# Genie images:
		self.genieAppear = [pygame.image.load("../images/genie-appear-1.png"),
							pygame.image.load("../images/genie-appear-2.png"),
							pygame.image.load("../images/genie-appear-3.png"),
							pygame.image.load("../images/genie-appear-4.png"),]
		self.genieIdle = [pygame.image.load("../images/genie-idle-1.png"),
							pygame.image.load("../images/genie-idle-2.png"),
							pygame.image.load("../images/genie-idle-3.png"),
							pygame.image.load("../images/genie-idle-4.png"),]
		self.genieLamp = pygame.image.load("../images/lamp.png")



	def setCurrentLevel(self, newLevel):
		self.currentLevel = newLevel

	def getCurrentLevel(self):
		return self.currentLevel

	def animate(self):
		self.animationCounter += 1
{'fraction_non_alphanumeric': 0.18674698795180722, 'fraction_numerical': 0.013833110218652387, 'mean_word_length': 3.112844036697248, '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': '593659', 'n_tokens_mistral': 1862, 'n_tokens_neox': 1598, 'n_words': 181}