Removed print

This commit is contained in:
Magdalena Wilczyńska 2019-03-25 14:15:59 +01:00
parent 0ffc5fa187
commit 4aa0e7280d

View File

@ -41,7 +41,6 @@ def generate_houses(all_sprites, obstacles_coords):
x, y = generate_rand_coordinates( x, y = generate_rand_coordinates(
(PLAY_WIDTH//CELL_SIZE)-1, (PLAY_HEIGHT//CELL_SIZE)-1) (PLAY_WIDTH//CELL_SIZE)-1, (PLAY_HEIGHT//CELL_SIZE)-1)
if(((x, y) or (x+1,y)) not in obstacles_coords): if(((x, y) or (x+1,y)) not in obstacles_coords):
print(x,y)
houses.append(House(x, y, 10, 10, 10)) houses.append(House(x, y, 10, 10, 10))
obstacles_coords.append((x, y)) obstacles_coords.append((x, y))
home_counter = home_counter - 1 home_counter = home_counter - 1