def start_game(self): music.stop() pyglet.clock.unschedule(self.on_draw) self.mode = PLAYING save.init() self.gluballplayer = gluballplayer.GluballPlayer(self) self.gluballplayer.init_game(level.entry_point)
def load_game(self): music.stop() pyglet.clock.unschedule(self.on_draw) self.mode = PLAYING self.gluballplayer = gluballplayer.GluballPlayer(self) self.gluballplayer.init_from_save(save.load_from(gui.load_path))