main.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:kivy_rpg 作者: spinningD20 项目源码 文件源码
def reseed(self):
        # this will only work if app has permission to modify seed.db, for example NOT IOS.
        # PS) hopefully it's obvious that this will only effect new games based off of new seed.db.
        # all_tmx_files_to_db will just update seed.db if it exists, but for now, just wipe the slate clean to be sure
        if exists('seed.db'):
            print('deleting seed.db, existing...')
            os.remove('seed.db')
        all_tmx_files_to_db()
        Notification(message='Reseed complete!').open()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号