some sounds

This commit is contained in:
Jonas Zeunert
2022-09-03 14:12:00 +02:00
parent 2583f952b7
commit e418fc3b9b
6 changed files with 13 additions and 9 deletions

View File

@@ -19,11 +19,11 @@ class SpinnerEvent(Event):
def scorePoints(self):
playerState = self.gameState.currentPlayer
timePassed = time() - self.activationTime
if 1 <= timePassed < 1.5:
if 0.5 <= timePassed < 1:
playerState.addPoints(100000)
elif 1.5 <= timePassed < 2:
elif 1 <= timePassed < 1.5:
playerState.addPoints(150000)
elif 2 <= timePassed < 5:
elif 1.5 <= timePassed < 3:
playerState.addPoints(200000)
elif timePassed >= 5:
elif timePassed >= 3:
playerState.addPoints(500000)