Update to the config screen

This commit is contained in:
janis
2022-04-04 16:25:33 +02:00
parent 9ad2405f13
commit 0c46453064
2 changed files with 41 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
class Human():
class Human:
def __init__(self, price, name="n/a"):
print("human created")
self.age = 0
@@ -19,10 +19,11 @@ class Human():
ret += str(self.age)
return ret
class Lumberjack(Human):
def __init__(self):
print("Lumberjack created")
#ruft den Konstruktor der Oberklasse auf
# ruft den Konstruktor der Oberklasse auf
Human.__init__(self, 300)