Added projectile chceck for hit

This commit is contained in:
Christian
2024-08-10 12:33:19 +02:00
parent 0436abb866
commit 1fbf891916
2 changed files with 51 additions and 12 deletions

View File

@@ -41,6 +41,7 @@ class Player(GameObject):
super().__init__(name, pos_x, pos_y, width, height, image)
self._speed = 10
self.screen = screen
self.points = 0
def handle_input(self, event:pygame.event.EventType):