Commit c39d60a1 by BellCodeEditor

save project

parent 7301850d
Showing with 7 additions and 0 deletions
......@@ -21,6 +21,13 @@ 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