some changes
This commit is contained in:
parent
8714f2aa8f
commit
963f2da849
@ -1,12 +1,14 @@
|
|||||||
from grid_draw import GridDraw, Colors
|
from Interface.grid_draw import GridDraw, Colors
|
||||||
|
|
||||||
grid = GridDraw(500, 500)
|
# dummy function
|
||||||
|
def initial_draw():
|
||||||
|
grid = GridDraw(500, 500)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
grid.start_draw()
|
grid.start_draw()
|
||||||
|
|
||||||
grid.board(10, 10)
|
grid.board(10, 10)
|
||||||
grid.circle(75, 75, 20, color=Colors.RED)
|
grid.circle(75, 75, 20, color=Colors.RED)
|
||||||
grid.circle(225, 175, 20, color=Colors.GREEN)
|
grid.circle(225, 175, 20, color=Colors.GREEN)
|
||||||
|
|
||||||
grid.end_draw()
|
grid.end_draw()
|
||||||
|
Loading…
Reference in New Issue
Block a user