def __init__(self): self.debugTrue = 0 self.frameNum = 0 self.cooldown = 0 frame1 = Frame.Frame(os.path.join('data\\imgs\\praia.png')) frame2 = Frame.Frame('data\\imgs\\praia2.png') self.frames = [frame1,frame2] self.curFrame = self.frames[self.frameNum] self.floorPy = 611 self.curState = States.s_default() self.frameCooldown = 45
def __init__(self): self.debugTrue = 0 self.frameNum = 0 self.cooldown = 0 frame1 = Frame.Frame('data\\imgs\\trainingRoom.png') frame2 = Frame.Frame('data\\imgs\\trainingRoom2.png') self.frames = [frame1, frame2] self.curFrame = self.frames[self.frameNum] self.floorPy = 675 self.curState = States.s_default() self.frameCooldown = 25
def __init__(self): self.debugTrue = 0 self.frameNum = 0 self.cooldown = 0; frame1 = Frame.Frame('data\\imgs\\Menu\\ChoiseMenu.png') frame2 = Frame.Frame('data\\imgs\\Menu\\ChoiseMenu.png') self.frames = [frame1, frame2] self.curFrame = self.frames[self.frameNum] self.curState = States.s_default() self.frameCooldown = 25
def __init__(self): self.debugTrue = 0 self.frameNum = 0 self.cooldown = 0 frame1 = Frame.Frame('data\\imgs\\ChocoLake.png') frame2 = Frame.Frame('data\\imgs\\ChocoLake2.png') self.frames = [frame1, frame2] self.curFrame = self.frames[self.frameNum] self.floorPy = 485 self.curState = States.s_default() self.frameCooldown = 25 if(pygame.mixer.music.get_busy()): pygame.mixer.music.stop()