forked from zhiyuan/Project1
创建设置、颜色、场景文件,场景更新逻辑放到单独文件中
This commit is contained in:
1 parent
2f7261f59c
commit
9c8bb2162f
5 files changed
+29
-6
No files matched your search
@@ -0,0 +1,6 @@
|
||||
class Color:
|
||||
black = (0, 0, 0)
|
||||
white = (255, 255, 255)
|
||||
a = (255, 0, 0)
|
||||
b = (0, 255, 0)
|
||||
c = (0, 0, 255)
|
||||
@@ -0,0 +1,5 @@
|
||||
class GameConfig:
|
||||
game_name = "Test Game"
|
||||
window_x = 1920/2
|
||||
window_y = 1080/2
|
||||
bg_color = (0, 0, 0)
|
||||
Reference in new issue
Block a user