Added itemhandler to game module

This commit is contained in:
Christian
2024-08-22 21:44:44 +02:00
parent b6590d33b8
commit 31a695f099
4 changed files with 45 additions and 5 deletions

View File

@@ -22,9 +22,9 @@ class Healthbar(UIelement):
grundwert = self.max_health
prozentwert = playerheatlh
prozent = (playerheatlh/grundwert)
print(prozent)
print(prozentwert)
print(playerheatlh)
#print(prozent)
#print(prozentwert)
#print(playerheatlh)
#Update until playerhealth not zero
if(self.health > 0):