Poprawka xD

This commit is contained in:
andrzej 2020-04-28 01:05:52 +02:00
parent 7934ed0d9d
commit ae4f280246
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class MainGameFrame:
self.draw_agent() self.draw_agent()
self.agent.move() self.agent.move()
pygame.display.update() pygame.display.update()
self.clock.tick(5) self.clock.tick(2)
def draw_floor(self): def draw_floor(self):
for x in range(self.warehouse_map.width): for x in range(self.warehouse_map.width):

View File

@ -50,7 +50,7 @@ class Warehouse:
self.generate_racks() self.generate_racks()
self.open_isolated_areas() self.open_isolated_areas()
self.packages = self.place_packages(no_of_packages) self.packages = self.place_packages(no_of_packages)
self.tiles[1][1] = Tile('floor', 1, 1)
def __str__(self): def __str__(self):
return "Magazyn {}x{}".format(self.width, self.height) return "Magazyn {}x{}".format(self.width, self.height)