Starting the implementation of the new map generator

This commit is contained in:
Charles Peyrat
2020-12-18 20:02:37 +01:00
parent ba3d979f9c
commit f5e5e365d4
2 changed files with 52 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Generator:
if grid[y][x] == Tile.FLOOR:
grid[y][x] = Tile.WALL
for y in range(height):
for y in [0, width-1]:
for x in [0, width-1]:
if grid[y][x] == Tile.FLOOR:
grid[y][x] = Tile.WALL