This commit is contained in:
alstergym
2026-09-07 11:03:07 +02:00
parent 4f2a1b4f98
commit ba473d9d70
4 changed files with 75 additions and 8 deletions
-3
View File
@@ -5,8 +5,5 @@ class Avatar:
self.items = 0
self.Fahrzeug = None
def __str__(self):
return("Ich bin " + self.name + " und " + str(self.Fahrzeug))
def fahrzeug_zuweisen(self, Fahrzeug):
self.Fahrzeug = Fahrzeug