from github

This commit is contained in:
jonas
2024-10-29 17:18:30 +01:00
commit b0f85b5c87
63 changed files with 1781 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from Entity import Entity
from Vec import Vec
class Point(Entity):
def __init__(self, start_position: Vec, start_size: Vec, big):
super().__init__(start_position, start_size)
self.eaten = False
self.big = big
# Wird ausgeführt, wenn der Punkt von PacMan berührt wird.
def eat(self):
self.eaten = True
def __str__(self):
return self.position