Remove unused imports and variables

This commit is contained in:
Maciej Sobkowiak 2019-04-08 12:16:50 +02:00
parent 6d94b540e0
commit d3927cfb8c
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -9,7 +9,7 @@ def main():
# initialize grid # initialize grid
grid = Grid(20, 20) grid = Grid(20, 20)
# initialize window # initialize window
window = Window(grid) Window(grid)
if __name__ == "__main__": if __name__ == "__main__":