def start_game(self): world = World(self.screen) world.load_level(1) self.states.push(world)
def load_game(self, file_name): world = World(self.screen) world.load_game(file_name) self.states.push(world)