This commit is contained in:
Michal Starski 2019-04-01 15:45:53 +02:00
commit e2f76d06a5
7 changed files with 0 additions and 6 deletions

View File

@ -20,7 +20,6 @@ class GC(Cell):
self.update_rect(self.x, self.y)
def collect(self, enviromnent):
print('collect')
x, y = [self.x, self.y]
coordinates = [(x, y - 1), (x, y + 1), (x - 1, y), (x + 1, y)]

View File

@ -8,5 +8,4 @@ class House(Cell):
def return_trash(self, collector):
self.container.y, self.container.g, self.container.b = collector.container.add(
[self.container.y, self.container.g, self.container.b])
print(collector.container.status())
self.update_image()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -63,10 +63,6 @@ for y in map.readlines():
i += 1
print(GRID_WIDTH, GRID_HEIGHT)
print(map_objects)
for line in map_objects:
for item in line:
pygame_sprites.add(item)