bub
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from Event import Event
|
||||
from solenoids.OutHoleSolenoid import OutHoleSolenoid
|
||||
from solenoids.MainFlipper import MainFlipper
|
||||
|
||||
from sounds.LowScore import LowScore
|
||||
|
||||
class StartBallEvent(Event):
|
||||
def __init__(self, gameState = None):
|
||||
@@ -15,6 +15,9 @@ class StartBallEvent(Event):
|
||||
return
|
||||
|
||||
self.gameState.isPlaying = True
|
||||
if self.gameState.currentPlayer.ballsLeft == 1:
|
||||
LowScore().play()
|
||||
|
||||
|
||||
super().trigger(target)
|
||||
self.flipper.activate()
|
||||
|
||||
Reference in New Issue
Block a user