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

@@ -1,9 +1,10 @@
from Target import Target
from Sound import Sound
class LeftPopTarget(Target):
def __init__(self):
super().__init__(5000, "Left Pop")
def hit(self):
Sound(3).play()
super().hit()

View File

@@ -1,9 +1,10 @@
from Target import Target
from Sound import Sound
class RightPopTarget(Target):
def __init__(self):
super().__init__(5000, 'Right Pop')
def hit(self):
Sound(3).play()
super().hit()

View File

@@ -1,5 +1,5 @@
from Target import Target
from Sound import Sound
# A standup target. When lit, it scores the Orange Special (operator
# adjustable) for Nothing, Extra Ball, Replay, Super Bonus, or 300,000
@@ -9,4 +9,5 @@ class FixedSpecialOrangeTarget(Target):
super().__init__(100000, "Special Orange")
def hit(self):
Sound(5).play()
super().hit()

View File

@@ -1,5 +1,5 @@
from Target import Target
from Sound import Sound
# A standup target. When lit, it scores the Red Special (operator
# adjustable) for Nothing, Extra Ball, Replay, Super Bonus, or 1,000,000
# points. Scores 10,000 points when not lit.
@@ -8,4 +8,5 @@ class FixedSpecialRedTarget(Target):
super().__init__(10000, "Special Red")
def hit(self):
Sound(4).play()
super().hit()