import pygame as PG
import pygame.image as PI
import pygame.time as PT
import sys
import pygame.sprite as PS
import pygame.display as PD
import pygame.color as PC
import pygame.event as PE
import pygame.font as PF
import random
import Globals

from objective import Objective

class Lvl_Data(object):
    def __init__(self, lvl = 1, stage=1):
        self.music_file = ""
        self.map_file = ""
        self.cutscene = None
        self.objective = None
        self.character_pos_x = 0
        self.character_pos_y = 0
        self.load(lvl, stage)

    def load(self,lvl, stage):
        if(lvl == 1):
            if stage == 1:
                self.map_file = 'mapfilelvl1.1.txt'
            elif stage == 2 :
                self.map_file = 'mapfilelvl1.2.txt'
            self.music_file = "music/gameplay.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif(lvl == 2):
            if stage == 1:
                self.map_file = 'mapfilelvl2.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl2.2.txt'
            self.music_file = "music/gameplay2.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif(lvl == 3):
            if stage == 1:
                self.map_file = 'mapfilelvl3.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl3.2.txt'
            self.music_file = "music/gameplay2.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif(lvl == 4):
            if stage == 1:
                self.map_file = 'mapfile-lvl4-stg1.txt'
            elif stage == 2:
                self.map_file = 'mapfile-lvl4-stg2.txt'
            self.music_file = "music/gameplay3.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        return self.map_file


4fe58a1b4aa2cc7f7a365b0ab5a97ed7880bf69e
<mask token>


class Lvl_Data(object):
    <mask token>
    <mask token>

<mask token>


class Lvl_Data(object):
    <mask token>

    def load(self, lvl, stage):
        if lvl == 1:
            if stage == 1:
                self.map_file = 'mapfilelvl1.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl1.2.txt'
            self.music_file = 'music/gameplay.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 2:
            if stage == 1:
                self.map_file = 'mapfilelvl2.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl2.2.txt'
            self.music_file = 'music/gameplay2.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 3:
            if stage == 1:
                self.map_file = 'mapfilelvl3.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl3.2.txt'
            self.music_file = 'music/gameplay2.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 4:
            if stage == 1:
                self.map_file = 'mapfile-lvl4-stg1.txt'
            elif stage == 2:
                self.map_file = 'mapfile-lvl4-stg2.txt'
            self.music_file = 'music/gameplay3.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        return self.map_file

<mask token>


class Lvl_Data(object):

    def __init__(self, lvl=1, stage=1):
        self.music_file = ''
        self.map_file = ''
        self.cutscene = None
        self.objective = None
        self.character_pos_x = 0
        self.character_pos_y = 0
        self.load(lvl, stage)

    def load(self, lvl, stage):
        if lvl == 1:
            if stage == 1:
                self.map_file = 'mapfilelvl1.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl1.2.txt'
            self.music_file = 'music/gameplay.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 2:
            if stage == 1:
                self.map_file = 'mapfilelvl2.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl2.2.txt'
            self.music_file = 'music/gameplay2.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 3:
            if stage == 1:
                self.map_file = 'mapfilelvl3.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl3.2.txt'
            self.music_file = 'music/gameplay2.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 4:
            if stage == 1:
                self.map_file = 'mapfile-lvl4-stg1.txt'
            elif stage == 2:
                self.map_file = 'mapfile-lvl4-stg2.txt'
            self.music_file = 'music/gameplay3.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        return self.map_file

import pygame as PG
import pygame.image as PI
import pygame.time as PT
import sys
import pygame.sprite as PS
import pygame.display as PD
import pygame.color as PC
import pygame.event as PE
import pygame.font as PF
import random
import Globals
from objective import Objective


class Lvl_Data(object):

    def __init__(self, lvl=1, stage=1):
        self.music_file = ''
        self.map_file = ''
        self.cutscene = None
        self.objective = None
        self.character_pos_x = 0
        self.character_pos_y = 0
        self.load(lvl, stage)

    def load(self, lvl, stage):
        if lvl == 1:
            if stage == 1:
                self.map_file = 'mapfilelvl1.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl1.2.txt'
            self.music_file = 'music/gameplay.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 2:
            if stage == 1:
                self.map_file = 'mapfilelvl2.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl2.2.txt'
            self.music_file = 'music/gameplay2.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 3:
            if stage == 1:
                self.map_file = 'mapfilelvl3.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl3.2.txt'
            self.music_file = 'music/gameplay2.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif lvl == 4:
            if stage == 1:
                self.map_file = 'mapfile-lvl4-stg1.txt'
            elif stage == 2:
                self.map_file = 'mapfile-lvl4-stg2.txt'
            self.music_file = 'music/gameplay3.mod'
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        return self.map_file

import pygame as PG
import pygame.image as PI
import pygame.time as PT
import sys
import pygame.sprite as PS
import pygame.display as PD
import pygame.color as PC
import pygame.event as PE
import pygame.font as PF
import random
import Globals

from objective import Objective

class Lvl_Data(object):
    def __init__(self, lvl = 1, stage=1):
        self.music_file = ""
        self.map_file = ""
        self.cutscene = None
        self.objective = None
        self.character_pos_x = 0
        self.character_pos_y = 0
        self.load(lvl, stage)

    def load(self,lvl, stage):
        if(lvl == 1):
            if stage == 1:
                self.map_file = 'mapfilelvl1.1.txt'
            elif stage == 2 :
                self.map_file = 'mapfilelvl1.2.txt'
            self.music_file = "music/gameplay.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif(lvl == 2):
            if stage == 1:
                self.map_file = 'mapfilelvl2.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl2.2.txt'
            self.music_file = "music/gameplay2.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif(lvl == 3):
            if stage == 1:
                self.map_file = 'mapfilelvl3.1.txt'
            elif stage == 2:
                self.map_file = 'mapfilelvl3.2.txt'
            self.music_file = "music/gameplay2.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        elif(lvl == 4):
            if stage == 1:
                self.map_file = 'mapfile-lvl4-stg1.txt'
            elif stage == 2:
                self.map_file = 'mapfile-lvl4-stg2.txt'
            self.music_file = "music/gameplay3.mod"
            self.cutscene = None
            self.objective = Objective(lvl, stage)
            self.character_pos_x = 100
            self.character_pos_y = 100
        return self.map_file

