some sounds
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user