some changes

This commit is contained in:
Veronika Polevara 2023-03-12 16:22:51 +01:00
parent 8714f2aa8f
commit 963f2da849
2 changed files with 12 additions and 12 deletions

View File

@ -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:
grid.start_draw()
while True:
grid.start_draw()
grid.board(10, 10)
grid.circle(75, 75, 20, color=Colors.RED)
grid.circle(225, 175, 20, color=Colors.GREEN)
grid.board(10, 10)
grid.circle(75, 75, 20, color=Colors.RED)
grid.circle(225, 175, 20, color=Colors.GREEN)
grid.end_draw()
grid.end_draw()

View File

@ -1,5 +1,3 @@
import pygame
from Interface import initialize_interface
from Interface.vacuum_render import initial_draw
pygame.init()
initialize_interface(10, 10)
initial_draw()