Merge and remove unused imports.

This commit is contained in:
Norbert Litkowski 2019-04-08 12:22:22 +01:00
commit 97cb1f2d9d
2 changed files with 2 additions and 6 deletions

View File

@ -1,8 +1,7 @@
import pygame as pg
import time
from pygame.locals import *
from UI.grid import Grid, Node
class Window():
def __init__(self, grid: Grid):
pg.init()

View File

@ -1,6 +1,3 @@
import pygame as pg
import numpy as np
from UI.grid import Grid
from UI.window import Window
@ -9,7 +6,7 @@ def main():
# initialize grid
grid = Grid(20, 20)
# initialize window
Window(grid)
Window(grid)
if __name__ == "__main__":