This commit is contained in:
Wojciech Łukasik 2020-05-19 22:21:13 +02:00
parent 4853b973b6
commit abf5829c34
5 changed files with 3 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@ -33,7 +33,6 @@ class Field:
self.rect.center = (center_x, center_y) self.rect.center = (center_x, center_y)
# Metoda do wyświetlania pola na ekranie # Metoda do wyświetlania pola na ekranie
def blitme(self): def blitme(self):
self.screen.blit(self.image, self.rect) self.screen.blit(self.image, self.rect)

View File

@ -46,7 +46,6 @@ def run():
elif event.key == pygame.K_SPACE: elif event.key == pygame.K_SPACE:
board[9][0].item = choice(data.learning_data) board[9][0].item = choice(data.learning_data)
print("Wybrano: " + board[9][0].item[-1]) print("Wybrano: " + board[9][0].item[-1])
board[9][0].item[-1] = 'Something'
field = board[9][0] field = board[9][0]
if not field.is_shelf: if not field.is_shelf:
path = functions.a_star(board[agent.y][agent.x], field, board) path = functions.a_star(board[agent.y][agent.x], field, board)