d
This commit is contained in:
9
v5/Window.py
Normal file
9
v5/Window.py
Normal 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)
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user