Removed print
This commit is contained in:
parent
0ffc5fa187
commit
4aa0e7280d
1
utils.py
1
utils.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user