Commit 5ba254c0 by BellCodeEditor

auto save

parent 4f4475dc
Showing with 2 additions and 2 deletions
......@@ -5,8 +5,8 @@ import random
class Block(pygame.sprite.Sprite):
def __init__(self,image1,image2,image3):
super().__init__()
self.image=random.choice([image1,image2,image3])
self.rect=self.image.get_rect()
self.image=rando.choice([image1,image2,image3])
self.rect=self.immage.get_rect()
self.rect.x=1000
self.rect.y=500-self.rect.height
pygame.init() # 初始化
......
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