Poprawka xD
This commit is contained in:
parent
7934ed0d9d
commit
ae4f280246
2
main.py
2
main.py
@ -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):
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user