Commit cc83abf7 by BellCodeEditor

save project

parent e7d9c190
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ import random ...@@ -4,7 +4,7 @@ import random
pygame.init() # 初始化 pygame.init() # 初始化
# 创建一个窗口 # 创建一个窗口
class Block(pygame.Sprite.sprite): class Block(pygame.sprite.Sprite):
def _init_(self,image1,image2,image3): def _init_(self,image1,image2,image3):
super()._init_() super()._init_()
self.image=random.choice([image1,image2,image3]) self.image=random.choice([image1,image2,image3])
......
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