创建设置、颜色、场景文件,场景更新逻辑放到单独文件中

This commit is contained in:
chicrobot committed 2026-07-26 02:05:15 +08:00
1 parent 2f7261f59c
commit 9c8bb2162f
5 files changed
+29 -6

No files matched your search

+6
View File
@@ -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)
+5
View File
@@ -0,0 +1,5 @@
class GameConfig:
game_name = "Test Game"
window_x = 1920/2
window_y = 1080/2
bg_color = (0, 0, 0)