Merge branch 'master' of https://git.wmi.amu.edu.pl/s440556/SZI2019SmieciarzWmi
@ -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)]
|
||||
|
||||
|
@ -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()
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.5 KiB |