from Avatar import Avatar from Fahrzeug import Fahrzeug from Map import Map from ItemBox import ItemBox # MAPS: print ("Das sind die Maps:") #regenbogenstrecke: regenbogenstrecke = Map("Regenbogenstrecke", 5, 20) print (str(regenbogenstrecke)) #wüstenstrecke wüstenstrecke = Map("Wüstenstrecke", 200, 500) print (str(wüstenstrecke)) # AVATARE: print ("Das sind die Avatare:") #mario mario = Avatar("Mario", 5) #bowser bowser = Avatar("Bowser", 8) print (str(bowser)) #luigi luigi = Avatar("Luigi", 5) print (str(luigi)) # FAHRZEUGE: print ("Das sind die Für die Map verfügtbaren Fahrzeuge:") #Kart: kart = Fahrzeug("Kart", 15) print(kart) kart.fahren() #Motorrad: motorrad = Fahrzeug("Motorrad", 11) print(motorrad) motorrad.fahren() #Mario und Motorrad mario.fahrzeug_zuweisen(motorrad) print("------------------------") print(mario.nameundfahrzeug()) # ITEMBOXEN: print ("das sind die auf der maps zu findenen Items:") #Pilz: pilz = ItemBox("Pilz", 20, 25) print (pilz)