def __init__(self): self.background_image = pygame.image.load("images/background_images/area_100_101.png").convert_alpha() self.enemy_char = [Goblin(random.randint(70, 140), random.randint(300, 370), 60, 150, 290, 380), Goblin(random.randint(210, 280), random.randint(220, 280), 200, 290, 210, 290)] self.level_border_x = [20, 460] self.level_border_y = [20, 445] self.south_area_change_x_y = [self.level_border_x[0] + 30, self.level_border_x[1], self.level_border_y[1] - 30, self.level_border_y[1]] self.east_area_change_x_y = [self.level_border_x[1] - 30, self.level_border_x[1] + 30, 220, 275]
def __init__(self): self.background_image = pygame.image.load("images/background_images/area_101_102.png").convert_alpha() self.enemy_char = [Medic(random.randint(90, 160), random.randint(70, 140), 80, 170, 60, 150), Medic(random.randint(300, 370), random.randint(100, 170), 290, 380, 90, 180), Goblin(random.randint(200, 270), random.randint(200, 270), 190, 280, 190, 280)] self.level_border_x = [105, 420] self.level_border_y = [100, 440] self.west_area_change_x_y = [self.level_border_x[0], self.level_border_x[0] + 30, 220, 275] self.south_area_change_x_y = [215, 300, self.level_border_y[1] - 30, self.level_border_y[1] + 30]
def __init__(self): self.background_image = pygame.image.load("images/background_images/area_98_100.png").convert_alpha() self.enemy_char = [Goblin(random.randint(300, 370), random.randint(150, 300), 290, 380, 140, 310)] self.level_border_x = [20, 460] self.level_border_y = [20, 445] self.east_area_change_x_y = [self.level_border_x[1] - 30, self.level_border_x[1] + 30, self.level_border_y[0], self.level_border_y[1]]