def __init__(self): self.background_image = pygame.image.load("images/background_images/area_99_103.png").convert_alpha() self.enemy_char = [Medic(random.randint(70, 140), random.randint(300, 370), 60, 150, 290, 380), Medic(random.randint(300, 370), random.randint(100, 170), 290, 380, 90, 180)] self.level_border_x = [124, 404] self.level_border_y = [20, 472] self.north_area_change_x_y = [self.level_border_x[0] + 30, self.level_border_x[1], self.level_border_y[0], self.level_border_y[0] + 30] 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]]
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_100_102.png").convert_alpha() self.enemy_char = [Medic(random.randint(120, 200), random.randint(130, 210), 110, 210, 120, 220), Medic(random.randint(300, 370), random.randint(100, 170), 290, 380, 90, 180), Medic(random.randint(200, 270), random.randint(260, 330), 190, 280, 250, 340)] self.level_border_x = [124, 404] self.level_border_y = [20, 472] self.east_area_change_x_y = [self.level_border_x[1] - 30, self.level_border_x[1] + 30, 220, 275] self.north_area_change_x_y = [self.level_border_x[0] + 30, self.level_border_x[1] + 30, self.level_border_y[0] - 20, self.level_border_y[0] + 30] self.west_area_change_x_y = [self.level_border_x[0] - 20, self.level_border_x[0] + 30, 220, 275]
def __init__(self): self.background_image = pygame.image.load("images/background_images/area_98_105.png").convert_alpha() self.enemy_char = [Medic(random.randint(70, 140), random.randint(300, 370), 60, 150, 290, 380)] self.level_border_x = [40, 500] self.level_border_y = [20, 472] 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] + 20] self.east_area_change_x_y = [self.level_border_x[1] - 30, self.level_border_x[1], self.level_border_y[0] - 20, self.level_border_y[1] + 30]