Commit ef838da8 by BellCodeEditor

save project

parent cdadb47c
Showing with 1 additions and 1 deletions
...@@ -74,7 +74,7 @@ while True: ...@@ -74,7 +74,7 @@ while True:
time = 0 time = 0
num = random.randint(0,50) num = random.randint(0,50)
if num >20: if num >20:
obstacle = Block(bush,cacti,stone) obstacle = Block(cacti,stone,bush)
block_list.add(obstacle) block_list.add(obstacle)
for sprite in block_list: for sprite in block_list:
sprite.rect.x -= 8 sprite.rect.x -= 8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment