"""
This class is the parent for each location class.
__author__ = Jairo Garciga
"""

import pygame
from game.characters.enemy.EnemyList import EnemyList


class Location:
    """
    Parent class for each location in the game
    """
    pygame.init()
    screen = None
    the_Player = None
    battle = None
    locationMap = None

    def __init__(self, player, base, mapp, base_level):
        """
        The constructor sets up the player object so that the location can
        access certain attributes like health.
        The parameter base allows the buttons made in location and the
        picture of the location to be drawn onto the screen.
        :param player: the player
        :param base: GameBase object
        :param mapp: the picture of the location
        """
        self.the_Player = player
        self.screen = base
        self.base_enemy_level = base_level
        self.enemy_list = EnemyList(self)
        self.locationMap = pygame.image.load("Images/"+mapp)
        self.display = self.screen.display
        self.display.blit(self.locationMap, (0, 0))

    def show_main_buttons(self):
        """
        A function that calls all the "show" functions for each button
        """
        pass

    def hide_main_buttons(self):
        """
        A function that calls all the "hide" functions for each button
        """
        pass

6ce9d7a96fb30281a44a8f36059f74bd6418f8bd
<mask token>


class Location:
    <mask token>
    pygame.init()
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, player, base, mapp, base_level):
        """
        The constructor sets up the player object so that the location can
        access certain attributes like health.
        The parameter base allows the buttons made in location and the
        picture of the location to be drawn onto the screen.
        :param player: the player
        :param base: GameBase object
        :param mapp: the picture of the location
        """
        self.the_Player = player
        self.screen = base
        self.base_enemy_level = base_level
        self.enemy_list = EnemyList(self)
        self.locationMap = pygame.image.load('Images/' + mapp)
        self.display = self.screen.display
        self.display.blit(self.locationMap, (0, 0))

    def show_main_buttons(self):
        """
        A function that calls all the "show" functions for each button
        """
        pass

    def hide_main_buttons(self):
        """
        A function that calls all the "hide" functions for each button
        """
        pass

<mask token>


class Location:
    <mask token>
    pygame.init()
    screen = None
    the_Player = None
    battle = None
    locationMap = None

    def __init__(self, player, base, mapp, base_level):
        """
        The constructor sets up the player object so that the location can
        access certain attributes like health.
        The parameter base allows the buttons made in location and the
        picture of the location to be drawn onto the screen.
        :param player: the player
        :param base: GameBase object
        :param mapp: the picture of the location
        """
        self.the_Player = player
        self.screen = base
        self.base_enemy_level = base_level
        self.enemy_list = EnemyList(self)
        self.locationMap = pygame.image.load('Images/' + mapp)
        self.display = self.screen.display
        self.display.blit(self.locationMap, (0, 0))

    def show_main_buttons(self):
        """
        A function that calls all the "show" functions for each button
        """
        pass

    def hide_main_buttons(self):
        """
        A function that calls all the "hide" functions for each button
        """
        pass

<mask token>


class Location:
    """
    Parent class for each location in the game
    """
    pygame.init()
    screen = None
    the_Player = None
    battle = None
    locationMap = None

    def __init__(self, player, base, mapp, base_level):
        """
        The constructor sets up the player object so that the location can
        access certain attributes like health.
        The parameter base allows the buttons made in location and the
        picture of the location to be drawn onto the screen.
        :param player: the player
        :param base: GameBase object
        :param mapp: the picture of the location
        """
        self.the_Player = player
        self.screen = base
        self.base_enemy_level = base_level
        self.enemy_list = EnemyList(self)
        self.locationMap = pygame.image.load('Images/' + mapp)
        self.display = self.screen.display
        self.display.blit(self.locationMap, (0, 0))

    def show_main_buttons(self):
        """
        A function that calls all the "show" functions for each button
        """
        pass

    def hide_main_buttons(self):
        """
        A function that calls all the "hide" functions for each button
        """
        pass

<mask token>
import pygame
from game.characters.enemy.EnemyList import EnemyList


class Location:
    """
    Parent class for each location in the game
    """
    pygame.init()
    screen = None
    the_Player = None
    battle = None
    locationMap = None

    def __init__(self, player, base, mapp, base_level):
        """
        The constructor sets up the player object so that the location can
        access certain attributes like health.
        The parameter base allows the buttons made in location and the
        picture of the location to be drawn onto the screen.
        :param player: the player
        :param base: GameBase object
        :param mapp: the picture of the location
        """
        self.the_Player = player
        self.screen = base
        self.base_enemy_level = base_level
        self.enemy_list = EnemyList(self)
        self.locationMap = pygame.image.load('Images/' + mapp)
        self.display = self.screen.display
        self.display.blit(self.locationMap, (0, 0))

    def show_main_buttons(self):
        """
        A function that calls all the "show" functions for each button
        """
        pass

    def hide_main_buttons(self):
        """
        A function that calls all the "hide" functions for each button
        """
        pass

"""
This class is the parent for each location class.
__author__ = Jairo Garciga
"""

import pygame
from game.characters.enemy.EnemyList import EnemyList


class Location:
    """
    Parent class for each location in the game
    """
    pygame.init()
    screen = None
    the_Player = None
    battle = None
    locationMap = None

    def __init__(self, player, base, mapp, base_level):
        """
        The constructor sets up the player object so that the location can
        access certain attributes like health.
        The parameter base allows the buttons made in location and the
        picture of the location to be drawn onto the screen.
        :param player: the player
        :param base: GameBase object
        :param mapp: the picture of the location
        """
        self.the_Player = player
        self.screen = base
        self.base_enemy_level = base_level
        self.enemy_list = EnemyList(self)
        self.locationMap = pygame.image.load("Images/"+mapp)
        self.display = self.screen.display
        self.display.blit(self.locationMap, (0, 0))

    def show_main_buttons(self):
        """
        A function that calls all the "show" functions for each button
        """
        pass

    def hide_main_buttons(self):
        """
        A function that calls all the "hide" functions for each button
        """
        pass
