def new_game(self): """Initialize and start a new game in world mode.""" self.window.pop_handlers() self.window.clear() world, player = loader.load_world(WORLD_PATH, IMG_PATH) plot, pstate = loader.load_plot(PLOT_PATH) self.wmode = WorldMode(self.window, world, player, plot, pstate) self.wmode.activate()
def TestLoadPlot(): loader.load_plot(PLOT_PATH)