This commit is contained in:
Jonas Zeunert
2020-05-07 21:57:36 +02:00
parent e7309b173f
commit da309f8c2b

View File

@@ -2,13 +2,13 @@ from displays.Display import Display
class SpecialDisplay(Display):
def __init__(self, name):
super(SpecialDisplay, self).__init__(name)
super().__init__(name)
self.credits = 0
self.gameTimeBonus = 0
self.ballsToPlay = 0
def printScore(self):
super.write_score(int(str(self.credits).zfill(2)
super().printScore(int(str(self.credits).zfill(2)
+ str(self.gameTimeBonus).zfill(2)
+ str(self.ballsToPlay).zfill(2)))