updated renderer, added rendering to "factory getting dirty"

This commit is contained in:
romue
2021-05-17 17:35:15 +02:00
parent 05240354de
commit a0de0c6d08
2 changed files with 20 additions and 2 deletions

@ -8,7 +8,7 @@ class Renderer:
WHITE = (200, 200, 200)
PINK = (0.5, 255, 118, 117)
def __init__(self, grid_w=16, grid_h=16, cell_size=25, fps=4, grid_lines=True, view_radius=2, assets=['wall', 'agent']):
def __init__(self, grid_w=16, grid_h=16, cell_size=30, fps=4, grid_lines=True, view_radius=2, assets=['wall', 'dirt', 'agent']):
self.grid_h = grid_h
self.grid_w = grid_w
self.cell_size = cell_size