This commit is contained in:
Olli Graf
2022-06-13 17:56:35 +02:00
parent ebdf22f6a6
commit 8bd0897af1
5 changed files with 51 additions and 6 deletions

View File

@@ -99,7 +99,9 @@ class World:
def fortschritt(self):
anz_raeume, anz_entdeckt = self.zaehleRaeume()
return round((anz_entdeckt/anz_raeume) *100,2)
progress = round((anz_entdeckt/anz_raeume) *100,2)
logging.debug(f'anz_raeume={anz_raeume}, entdeckt={anz_entdeckt}, progress={progress}')
return progress
def printRaum(self):
raum = self.aktuellerRaum
@@ -453,7 +455,7 @@ class World:
self.RAUM_WALD = '36'
self.RAUM_STATUE = '37'
self.RAUM_KOPF = '38'
self.RAUM_MAUER = '41'
self.RAUM_MAUER = '39'
self.RAUM_GRAB = '40'