Fixed syntax
This commit is contained in:
parent
eb4d87e6f3
commit
9ee0cf1f5c
@ -1,6 +1,6 @@
|
||||
import pygame
|
||||
from sprites.cell import Cell, CELL_SIZE
|
||||
from
|
||||
from sprites.house import House
|
||||
from config import PLAY_HEIGHT, PLAY_WIDTH
|
||||
|
||||
class Garbage_collector(Cell):
|
||||
@ -29,9 +29,7 @@ class Garbage_collector(Cell):
|
||||
elif(destination is 'y'):
|
||||
self.y = value
|
||||
self.update()
|
||||
PLASTIC = 0 # blue
|
||||
GLASS = 1 # green
|
||||
METAL = 2 # yellow
|
||||
|
||||
def collect_trash(self, house):
|
||||
rubbish = house.get_rubbish_data()
|
||||
to_collect = rubbish
|
||||
|
Loading…
Reference in New Issue
Block a user