forked from pokemonchw/dieloli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.py
executable file
·39 lines (26 loc) · 820 Bytes
/
game.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
import sys
from types import FunctionType
from Script.Config import normal_config
from Script.Core import game_type, cache_control
cache_control.cache = game_type.Cache()
normal_config.init_normal_config()
from Script.Core import get_text
from Script.Config import game_config, name_config
_: FunctionType = get_text._
""" 翻译api """
game_config.init()
name_config.init_name_data()
from Script.Config import map_config
map_config.init_map_data()
from Script.Design import start_flow, handle_premise, game_time
from Script.Core import game_init
import Script.Settle
import Script.StateMachine
import Script.UI.Flow
import multiprocessing
if __name__ == "__main__":
multiprocessing.freeze_support()
game_time.init_time()
game_init.run(start_flow.start_frame)