This commit is contained in:
Jonas Zeunert
2022-09-03 19:03:56 +02:00
parent fba6bd2e99
commit bfdae47e8b
3 changed files with 19 additions and 2 deletions

View File

@@ -1,8 +1,9 @@
from Target import Target
from Sound import Sound
class LeftSlingshotTarget(Target):
def __init__(self):
super().__init__(100, 'Left Slingshot')
def hit(self):
Sound(6).play()
super().hit()

View File

@@ -1,4 +1,5 @@
from Target import Target
from Sound import Sound
class RightSlingshotTarget(Target):
@@ -6,4 +7,5 @@ class RightSlingshotTarget(Target):
super().__init__(10, "Right Slingshot")
def hit(self):
Sound(6).play()
super().hit()