astar #4

Merged
s459313 merged 7 commits from astar-2 into master 2022-04-29 04:38:00 +02:00
Showing only changes of commit 1de4b34d8e - Show all commits

3
board
View File

@ -242,6 +242,9 @@ if __name__ == '__main__':
for object in objectArray[1:]:
collisionsMap[object.pos.x][object.pos.y] = True
black_list = [(10, 10), (7, 4), (3, 10), (8, 10), (4, 5), (1, 2), (10, 4), (13, 14), (6, 9), (4, 9), (5, 11), (11, 7), (13, 8)]
#lista obiektów potrzebna do succ1 - na te pole śmieciarka nie wchodzi, więc nie ma ich brać pod uwagę
width = 610
height = 530
screen = pygame.display.set_mode((width, height)) # ustalanie rozmiarów okna