@ -19,7 +19,6 @@ pygame.display.set_icon(icon)
bullet_image = pygame.image.load('pics/second_bullet.png')
enemy_image = pygame.image.load('pics/enemy.png')
player_image = pygame.image.load('pics/player.png')
arrow_img = pygame.image.load('pics/arrow.png')
#######
#rand_color = (int(random.randint(0,254)),int(random.randint(0,254)) ,int(random.randint(0,254)))
@ -16,7 +16,7 @@ class Enemy:
pygame.draw.rect(window,en_color,(self.enemy_x, self.enemy_y, self.en_width, self.en_height))
window.blit(en_image,(self.enemy_x, self.enemy_y))
def update(self):
self.enemy_x += 3 #self.vel here #3
self.enemy_x += 3
if self.enemy_x >= 600:
self.enemy_x = 1
def enemy_shoot(self):