zmiany
This commit is contained in:
parent
4853b973b6
commit
abf5829c34
Binary file not shown.
Binary file not shown.
1
field.py
1
field.py
@ -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)
|
||||||
|
1
main.py
1
main.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user