2020-12-05 21:24:54 +08:00
|
|
|
"""
|
|
|
|
writen by shenjackyuanjie
|
|
|
|
mail: 3695888@qq.com
|
|
|
|
"""
|
|
|
|
|
2021-01-11 22:54:41 +08:00
|
|
|
from libs.Game_threads import orbit_demo
|
2021-01-20 17:06:25 +08:00
|
|
|
|
2020-12-05 21:24:54 +08:00
|
|
|
import libs
|
2021-01-21 15:05:29 +08:00
|
|
|
import multiprocessing as mp
|
|
|
|
|
|
|
|
from multiprocessing import Manager as share
|
2020-12-05 21:24:54 +08:00
|
|
|
|
|
|
|
|
2020-12-13 18:39:12 +08:00
|
|
|
class Game():
|
2020-12-21 18:46:20 +08:00
|
|
|
|
2020-12-05 21:24:54 +08:00
|
|
|
def __init__(self):
|
2021-01-21 15:05:29 +08:00
|
|
|
self.dics = share().dict()
|
|
|
|
self.lists = share().list()
|
|
|
|
self.render = libs.libs.render_thread.RenderThread(self.lists, self.dics)
|
2021-01-11 21:34:25 +08:00
|
|
|
|
2021-01-11 21:58:51 +08:00
|
|
|
def setup(self):
|
|
|
|
self.game_thread = orbit_demo()
|