This commit is contained in:
s1202077 2019-03-19 18:44:00 +01:00
commit 5356a8dbc2

View File

@ -44,6 +44,7 @@ while( home_len > 0 ):
y = random.randint(0, (PLAY_WIDTH//64)-1) y = random.randint(0, (PLAY_WIDTH//64)-1)
if( type(cells[x][y]) == Grass ): if( type(cells[x][y]) == Grass ):
print('Moge byc domkiem!')
cells[x][y] = House(x,y, 10, 10, 10) cells[x][y] = House(x,y, 10, 10, 10)
home_len = home_len - 1 home_len = home_len - 1