Commit 8115e89a by BellCodeEditor

save project

parent 88e8908d
Showing with 1 additions and 1 deletions
......@@ -7,7 +7,7 @@ pygame.init() # 初始化
class Block(pygame.sprite.Sprite):
def __init__(self,image1,image2,image3):
super().__init__()
self.image = random.choice([self,image1,image2,image3])
self.image = random.choice([bush,stone,cacti])
self.rect = self.image.get_rect()
self.rect.x = 1000
self.rect.y = 500 - self.rect.height
......
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