Commit 6f043eb5 by BellCodeEditor

auto save

parent 0832ad52
Showing with 1 additions and 1 deletions
......@@ -8,7 +8,7 @@ class Block(pygame.sprite.Sprite): # 障碍物精灵类
def __init__(self,image1,image2,image3):
super().__init__()
# 加载障碍物的图片
self.image = random. ce([image1, image2, image3])
self.image = random. ce([image1, image2, image3])
# 根据障碍物位图的宽高设置矩 形
self.rect = self.image.get_rect()
# 障碍物绘制坐标
......
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