This commit is contained in:
Михаил Капелько
2024-06-16 22:00:18 +03:00
parent 4ded8efc8c
commit 674d5795dc
2 changed files with 11 additions and 7 deletions

9
v5/Window.py Normal file
View File

@@ -0,0 +1,9 @@
import arcade
class Window(arcade.Window):
def __init__(self):
super().__init__(800, 600, "OGS Memory")
arcade.set_background_color(arcade.color.WHITE)
def on_draw(self):
arcade.start_render()
arcade.draw_circle_filled(400, 300, 15, arcade.color.BLUE)

View File

@@ -8,6 +8,7 @@ from ctx_test2 import *
from llm_test import *
from llm_test_Python import *
from memory_test import *
from Window import *
import sys
print(ctx_test_Controller_executeFunctions_registerFunction_set())
@@ -73,11 +74,5 @@ ctrl.registerFieldCallback("exit", lambda c: sys.exit(0))
ctrl.set("didLaunch", True)
ctrl.set("playfieldSize", 2)
arcade.open_window(800, 600, "Hello, Arcade Memory")
arcade.set_background_color(arcade.color.WHITE)
arcade.start_render()
arcade.draw_circle_filled(400, 300, 15, arcade.color.BLUE)
arcade.finish_render()
wnd = Window()
arcade.run()