This commit is contained in:
alstergym
2026-09-07 09:47:44 +02:00
parent f669c5343d
commit b8837ade50
4 changed files with 50 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
from Avatar import Avatar
from Fahrzeug import Fahrzeug
from items import items
print("Hallo zu unserem SPIEL")
mario = Avatar("Mario",5)
toat = Avatar("Toat",5)
print(str(mario))
print(str(toat))
print("Heute fahre ich sehr schnell")
Pilzwagen = Fahrzeug("den Pilzwagen",9)
motorrrad = Fahrzeug("das Motorrad",9)
print(motorrrad)
print(Pilzwagen)
Pilzwagen.fahren()