Commit c39d60a1 by BellCodeEditor

save project

parent 7301850d
Showing with 8 additions and 1 deletions
...@@ -21,7 +21,14 @@ class Block(pygame.sprite.Sprite): ...@@ -21,7 +21,14 @@ class Block(pygame.sprite.Sprite):
class player(pygame.sprite.Sprite):
def __init__(self,image):
super().__init__()
self.image = image
self.rect = self.image.get_rect()
self.rect.x = 150
self.rect.y = 400
......
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