Commit 6e3055e9 by BellCodeEditor

save project

parent 2742489a
Showing with 2 additions and 2 deletions
...@@ -3,8 +3,8 @@ from pygame import locals ...@@ -3,8 +3,8 @@ from pygame import locals
import random import random
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])
self.rect=self.image.get_rect() self.rect=self.image.get_rect()
self.rect.x=1000 self.rect.x=1000
......
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